Skip to content

Commit

Permalink
Add pytest to .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Mar 13, 2020
1 parent 0e881f4 commit 964556a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ env:
- BASEDIR="https://raw.githubusercontent.com/open-contracting/standard-maintenance-scripts/master"
install:
- curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
# Install from tmp dir, otherwise jscc.egg-info causes errors
- cp -r . /tmp/jscc; pip install -e /tmp/jscc
- pip install .[test]
script:
- curl -s -S --retry 3 $BASEDIR/tests/script.sh | bash -
- pytest --cov jscc
after_success:
coveralls

0 comments on commit 964556a

Please sign in to comment.