-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
40 lines (30 loc) · 797 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
dist: xenial
language: python
python:
- 3.9
- 3.8
- 3.6
matrix:
include:
- python: 3.6
env: TOXENV=lint
#before_install:
# - sudo apt-get update -y
env:
global:
CC_TEST_REPORTER_ID=f108a5ed53a9d98475fc6133c72c9a82756749e158e002c1345dc465e233999e
install:
- pip install tox==3.28.0 tox-travis coverage
- eval $(dbus-launch --sh-syntax)
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- tox
after_script:
- coverage xml
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- bash <(curl -s https://codecov.io/bash)
notifications:
email: false