forked from westerndigitalcorporation/desmod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (29 loc) · 783 Bytes
/
.travis.yml
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
32
33
34
35
language: python
matrix:
include:
- python: '2.7'
- python: 'pypy'
env: PYENV_VERSION=pypy-portable-5.7.0 PYENV_VERSION_STRING='PyPy 5.7.0'
- python: '3.3'
- python: '3.4'
- python: '3.5'
- python: '3.6'
- python: 'pypy3'
env: PYENV_VERSION=pypy3-portable-5.7.0 PYENV_VERSION_STRING='PyPy 5.7.0'
before_install:
- |
if [[ -n "$PYENV_VERSION" ]]; then
wget https://github.com/praekeltfoundation/travis-pyenv/releases/download/0.3.0/setup-pyenv.sh
source setup-pyenv.sh
fi
install:
- pip install -r requirements-dev.txt
- pip install coveralls
- pip install -e .
script: py.test --flake8 --cov
after_success:
coveralls
cache:
- pip
- directories:
- "${PYENV_CACHE_PATH:-$HOME/.pyenv_cache}"