Skip to content

Commit

Permalink
Travis setup for pytest, jest and pytest-cov
Browse files Browse the repository at this point in the history
  • Loading branch information
rupav committed May 17, 2018
1 parent fc10ac3 commit 0665729
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ python:
- "3.6"
# - "3.6-dev"
# - "3.7-dev"
install:
before_install:
- sudo -H pip install -U pipenv
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update && sudo apt-get install yarn
install:
- curl -sL git.io/install-candis | sudo python
- pip3 install pytest-cov

- pip3 install pytest-cov # without reinstalling, its not working, latest version is 2.5.1
script:
#- export PIPENV_IGNORE_VIRTUALENVS=1
# - export PIPENV_IGNORE_VIRTUALENVS=1 # To be used when pipenv is tested successfully.
- make test
- pytest --cov=candis.app.server.api candis/app/server/api/tests

0 comments on commit 0665729

Please sign in to comment.