Skip to content

Commit

Permalink
update travis conf + codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed Jun 8, 2020
1 parent ce78da9 commit c982320
Showing 1 changed file with 42 additions and 4 deletions.
46 changes: 42 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,52 @@ jobs:
- python: 3.8
- python: "pypy"
- python: "pypy3"
# OSX
- name: OSX Python 2.7
os: osx
language: shell
before_install:
- cp -fv `which python2` `which python` || true
- cp -fv `which pip2` `which pip` || true
- pip install --upgrade pip
- name: OSX Python 3.7
os: osx
language: shell
before_install:
- cp -fv `which python3` `which python` || true
- cp -fv `which pip3` `which pip` || true
- pip install --upgrade pip
# Windows
- name: Win Python 3.6
language: shell
os: windows
before_install:
- choco install python --version 3.6.8
- python -m pip install --upgrade pip
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
- name: Win Python 3.7
language: shell
os: windows
before_install:
- choco install python --version 3.7.4
- python -m pip install --upgrade pip
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
- name: Win Python 3.8
language: shell
os: windows
before_install:
- choco install python --version 3.8.2
- python -m pip install --upgrade pip
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH

install:
- pip install -r requirements.txt
- pip install mock pytest==3.2.1 pytest-cov==2.5.1
- pip install codecov
- pip install coveralls
- pip install scrutinizer-ocular
before_script:
- rm -f .coverage vdf/*.pyc tests/*.pyc
script:
- PYTHONHASHSEED=0 python -m pytest --cov=vdf tests
- PYTHONHASHSEED=0 pytest --cov=vdf tests
after_success:
- codecov
- coveralls
- ocular --data-file ".coverage"

0 comments on commit c982320

Please sign in to comment.