Skip to content

Commit

Permalink
Merge pull request #26 from nenkoru/poetry-travis-fix
Browse files Browse the repository at this point in the history
fix: travis ci with poetry
  • Loading branch information
nenkoru committed Feb 16, 2022
2 parents a5bfe9d + 26e58fb commit e6a41f2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ python:
- "3.8"
- "3.9"
# command to install dependencies
before_install:
- pip install poetry
install:
- pip install -r requirements.txt
- pip install -r requirements_test.txt
- pip install pytest-cov
- pip install coveralls
- poetry install
- poetry run pip install pytest-cov
- poetry run pip install coveralls
# command to run tests
script:
- pytest tests --cov=okama/
- poetry run pytest tests --cov=okama/
after_success:
- coveralls
- poetry run coveralls

0 comments on commit e6a41f2

Please sign in to comment.