Skip to content

Commit

Permalink
Use pipenv on Travis CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
willrogers committed Nov 24, 2017
1 parent e73325a commit a692c58
Show file tree
Hide file tree
Showing 3 changed files with 515 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ python:
- "3.6"

install:
- pip install --only-binary=numpy,scipy -r requirements/deploy.txt
- pip install -r requirements/dev.txt
- pip install pipenv
- pipenv install --dev

script:
- export PYTHONPATH=.
- py.test --cov=pytac --pep8 --flakes
- pipenv run python -m pytest --cov=pytac --pep8 --flakes

after_success:
- coveralls
29 changes: 29 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"


[dev-packages]

pytest = "*"
pytest-cov = "*"
python-coveralls = "*"
mock = "*"
pytest-flakes = "*"
"pytest-pep8" = "*"
bpython = "*"


[packages]

numpy = "*"
scipy = "*"
sphinx = "*"
sphinx-rtd-theme = "*"


[requires]

python_version = "2.7"
Loading

0 comments on commit a692c58

Please sign in to comment.