Skip to content

Commit

Permalink
CI: run unit tests & expand Travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dhimmel committed Mar 17, 2017
1 parent ee83fa3 commit 1472ac2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
# Python egg metadata, regenerated from source files by setuptools.
/*.egg-info

# Unit test / coverage reports
.cache

# Created by https://www.gitignore.io/api/pycharm

Expand Down
14 changes: 10 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
dist: trusty
sudo: false
language: python
cache: pip
python:
- "2.7"
- "3.5"
- "3.6"
# command to install dependencies
install:
- "pip install flake8"
install:
- pip install flake8 numpy scipy
- python setup.py install
# command to run tests
script: flake8 lime

script:
- py.test lime
- flake8 lime

0 comments on commit 1472ac2

Please sign in to comment.