forked from lesunb/HMRSsim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (28 loc) · 705 Bytes
/
Copy path.travis.yml
File metadata and controls
31 lines (28 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: python
python:
- '3.8.0'
matrix:
include:
- python: '3.8.0'
#- env: PYENV_VERSION=pypy3.8-7.1.1 PYENV_VERSION_STRING='PyPy 7.1.1'
cache:
- pip
- directories:
- $HOME/.pyenv_cache
before_install:
- |
if [[ -n "$PYENV_VERSION" ]]; then
wget https://github.com/praekeltfoundation/travis-pyenv/releases/download/0.4.0/setup-pyenv.sh
source setup-pyenv.sh
fi
install:
- pipenv install --dev
script:
- pytest -v --cov=simulator .
after_success:
- pyenv shell
- codecov
- pip install codacy-coverage
- python-codacy-coverage -r coverage.xml
- py.test --cov-report=xml --cov=simulator tests/
- bash <(curl -s https://codecov.io/bash)