-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
45 lines (42 loc) · 1.29 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
language: python
notifications:
webhooks: https://coveralls.io/webhook
jobs:
include:
- python: 3.6
before_install:
- sudo -E env "PATH=$PATH" pip3 install -U pip
install:
- sudo -E env "PATH=$PATH" pip install -e .[test]
script:
- sudo -E env "PATH=$PATH" pytest --cov=./src
- bash <(curl -s https://codecov.io/bash) -cF python
- python: 3.7
before_install:
- sudo -E env "PATH=$PATH" pip3 install -U pip
install:
- sudo -E env "PATH=$PATH" pip install -e .[test]
script:
- sudo -E env "PATH=$PATH" pytest --cov=./src
- bash <(curl -s https://codecov.io/bash) -cF python
- python: 3.8
before_install:
- sudo -E env "PATH=$PATH" pip3 install -U pip
install:
- sudo -E env "PATH=$PATH" pip install -e .[test]
script:
- sudo -E env "PATH=$PATH" pytest --cov=./src
- bash <(curl -s https://codecov.io/bash) -cF python
- name: "python 3.6 [Job failure permitted]"
python: 3.6
before_install:
- pip3 install -U pip
install:
- pip install -e .[test]
script:
- pytest --cov=./src
- bash <(curl -s https://codecov.io/bash) -cF python
allow_failures:
- name: "python 3.6 [Job failure permitted]"
after_success:
- coveralls