forked from lhupfeldt/jenkinsflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 1.18 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
language: python
sudo: false
python:
- 3.6
- pypy
- pypy3
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
env: REQUIREMENTS=lowest
- python: 3.7
dist: xenial
sudo: true
env: REQUIREMENTS=release
- python: 3.8-dev
dist: xenial
sudo: true
env: REQUIREMENTS=lowest
- python: 3.8-dev
dist: xenial
sudo: true
env: REQUIREMENTS=release
allow_failures:
- python: pypy
- python: pypy3
- python: 3.8-dev
script: tox
os:
- linux
before_install:
- travis_retry pip install --upgrade pip
- travis_retry pip install requirements-builder
- requirements-builder --level=min setup.py > .travis-lowest-requirements.txt
- requirements-builder --level=pypi setup.py > .travis-release-requirements.txt
install:
- pip install tox-travis
- pip install coveralls
- travis_retry pip install -r .travis-$REQUIREMENTS-requirements.txt
- pip install -e .
env:
- REQUIREMENTS=lowest
- REQUIREMENTS=release
after_success:
# rcfile name duplicated in test/run.py
- coveralls --rcfile="./test/.coverage_rc_mock_script"