Skip to content

Commit

Permalink
travis: Resolve build issues
Browse files Browse the repository at this point in the history
The tests now rely on the package being installed. Do that by using tox
to run our tests in Travis, like we do locally.

Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed Jul 1, 2022
1 parent 7dcd7ba commit 2b2c1b1
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
language: python
python:
- '2.7'
- pypy
- '3.5'
- '3.6'
- '3.7'
- '3.8'

- '2.7'
- '3.5'
- '3.6'
- '3.7'
- '3.8'
- pypy
install:
- python setup.py build sdist
- pip install -r requirements-dev.txt

script: nosetests --verbosity 2

- pip install tox-travis
script:
- tox
deploy:
provider: pypi
user: tuxtimo
Expand Down

0 comments on commit 2b2c1b1

Please sign in to comment.