-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (41 loc) · 981 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
36
37
38
39
40
41
language: python
dist: xenial
branches:
only:
- master
- stable
matrix:
include:
- python: '3.7'
env:
- TRAVIS_TEST_NAME="Lint_only"
install:
- 'pip install --upgrade pip'
- 'pip install .'
- 'pip install -r requirements-ci.txt'
script:
- pylama src
- pylama tests
- pylama example_app
- pylint src
- pylint tests
- pylint example_app
- rst-lint *.rst
- python: '3.6'
env:
- TRAVIS_TEST_NAME="Py36_nocodecov"
install:
- 'pip install --upgrade pip'
- 'pip install .'
- 'pip install -r requirements-ci.txt'
script: pytest
- python: '3.7'
env:
- TRAVIS_TEST_NAME="Py37_codecov"
install:
- 'pip install --upgrade pip'
- 'pip install .'
- 'pip install -r requirements-ci.txt'
script: pytest
after_success:
- bash <(curl -s https://codecov.io/bash)