forked from genialis/resolwe-bio-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (36 loc) · 1.03 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
# Global Travis CI step definitions that will be used by all jobs unless
# explicitly overriden in the jobs.include matrix.
language: python
# NOTE: Apparently, Travis CI still hasn't strealined Python 3.7 support so
# one has to resort to using the "unofficial" Ubuntu Xenial Xerus (16.04 LTS)
# build environment and enable the "sudo" mode.
# More details here:
# - https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-425720905
# - https://github.com/travis-ci/travis-ci/issues/9815
dist: xenial
python: "3.7"
install: pip install tox
script: tox -e $TOX_ENV
after_success:
- pip install codecov
- codecov -e TOX_ENV
# Build stages.
jobs:
include:
- stage: test
env: TOX_ENV=py36
python: "3.6"
- stage: test
env: TOX_ENV=py37
- stage: test
env: TOX_ENV=py38
python: "3.8"
- stage: test
env: TOX_ENV=docs
after_success: skip
- stage: test
env: TOX_ENV=linters
after_success: skip
- stage: test
env: TOX_ENV=packaging
after_success: skip