Skip to content

Commit

Permalink
Run tests on Travis via tox.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmwhite committed Sep 7, 2017
1 parent d626e89 commit 11ea1cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ cache:
before_install:
- nvm install 6.9.5
install:
- ./.travis/install.sh
- pip install tox-travis
- if [[ "$TEST_SUITE" == "js" ]]; then make install-node-requirements; fi
script:
- make test-$TEST_SUITE
- if [[ "$TEST_SUITE" == "js" ]]; then make test-js; else tox; fi
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ envlist =
py36,
lint

[travis]
python =
2.7: py27, lint
3.4: py34
3.5: py35
3.6: py36

[testenv]
install_command = pip install --process-dependency-links {opts} {packages}
commands = py.test
Expand Down

0 comments on commit 11ea1cb

Please sign in to comment.