Skip to content

Commit

Permalink
Add travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Feb 10, 2018
1 parent 4f432ae commit 2171dc5
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
language: python

os:
- linux

python:
- 2.6
- 2.7
- 3.4
- 3.5
- 3.6

addons:
apt:
packages:
- python-numpy
- python3-numpy
- python-setuptools

install:
- pip install --upgrade pip
- pip install coveralls
- pip install pytest

script:
coverage run --source=formulate setup.py test

after_success:
coveralls

notifications:
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[aliases]
test=pytest
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def get_version():
test_suite='tests',
install_requires=['numpy', 'pyparsing', 'colorlog'] +
(['enum34'] if sys.version_info < (3, 4) else []),
setup_requires=['pytest-runner'],
tests_require=['pytest'],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
Expand Down

0 comments on commit 2171dc5

Please sign in to comment.