Skip to content

Commit eede1b4

Browse files
author
oujago
committed
add .travis.yml and .coveragerc
1 parent 23ff0dd commit eede1b4

File tree

5 files changed

+34
-6
lines changed

5 files changed

+34
-6
lines changed

.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[run]
2+
omit = test/*

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: python
2+
sudo: false
3+
python:
4+
- "3.3"
5+
- "3.4"
6+
- "3.5"
7+
- "3.6"
8+
- "pypy3"
9+
addons:
10+
apt:
11+
packages:
12+
- libblas-dev
13+
- liblapack-dev
14+
before_install:
15+
- pip install -U pip
16+
install:
17+
- travis_wait travis_retry pip install -r requirements.txt
18+
- travis_retry pip install python-coveralls
19+
- travis_retry python setup.py install
20+
script: py.test --runslow --cov-config=.coveragerc
21+
after_success:
22+
- coveralls

README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
:target: https://github.com/oujago/NumpyDL/blob/master/LICENSE
66

77

8+
.. image:: https://travis-ci.org/Lasagne/Lasagne.svg
9+
:target: https://travis-ci.org/oujago/NumpyDL
10+
11+
.. image:: https://img.shields.io/coveralls/Lasagne/Lasagne.svg
12+
:target: https://coveralls.io/r/oujago/NumpyDL
13+
14+
.. image:: https://zenodo.org/badge/16974/Lasagne/Lasagne.svg
15+
:target: https://zenodo.org/badge/latestdoi/16974/oujago/NumpyDL
816

917

1018

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# -*- coding: utf-8 -*-
22

33
import io
4-
import numpy as np
54
import os
65
import re
7-
from distutils.core import setup
8-
from setuptools import find_packages
6+
7+
import numpy as np
98
from setuptools import find_packages
109
from setuptools import setup
1110

test/test_activation.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)