Skip to content

Commit

Permalink
rework travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed Apr 18, 2020
1 parent cf81fd3 commit 51b71b2
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
28 changes: 16 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
os: linux

jobs:
include:
- python: 2.7
install:
- pip install -r requirements_py2.txt
- pip install coveralls==1.1
- pip install scrutinizer-ocular
- python: 3.4
- python: 3.5
- python: 3.6
- python: 3.7
os: linux
- python: 3.8
os: linux
- python: "pypy"
- python: "pypy3"

install:
- make init
- pip install coveralls==1.1
- pip install -r requirements_py3.txt
- pip install coveralls
- pip install scrutinizer-ocular
script:
make test
- PYTHONHASHSEED=0 python -m pytest --cov=vdf tests
after_success:
- coveralls
- ocular --data-file ".coverage"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ help:
@echo "$$HELPBODY"

init:
pip install -r requirements.txt
pip install -r requirements_py2.txt

test:
rm -f .coverage vdf/*.pyc tests/*.pyc
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions requirements_py3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mock
pytest
pytest-cov

0 comments on commit 51b71b2

Please sign in to comment.