Skip to content

Commit 40e18df

Browse files
committed
Integrate with Travis-CI
1 parent e0aa475 commit 40e18df

File tree

5 files changed

+21
-1
lines changed

5 files changed

+21
-1
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
*.pyc
22
build
33
*.so
4-
.*
54
*~
5+
*.sw[op]
6+
.cache/
67
*.o
78
*.egg-info/

.travis.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
3+
language: python
4+
python:
5+
- 2.7
6+
7+
cache: pip
8+
9+
install:
10+
- pip install -r dev-requirements.txt
11+
12+
script:
13+
- python setup.py test

dev-requirements.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Cython==0.24.1
2+
numpy
3+
pandas
4+
pytest

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
numpy

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,5 @@ def run_tests(self):
189189
ext_modules=ext_modules,
190190
cmdclass=cmdclass,
191191
requires=['numpy'],
192+
tests_require=["pytest"],
192193
)

0 commit comments

Comments
 (0)