This repository has been archived by the owner on Oct 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
60 lines (60 loc) · 2.21 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
48
49
50
51
52
53
54
55
56
57
58
59
60
language: python
matrix:
include:
# Orderings to minimize build time
# 3.7 Documentation building first
# 2.7 to test Python 2 and lint on Python2
# 3.6 Run pylint on Python 3 as well
# pypy3 and pypy to support pypy
# Interleave remaining versions
- python: '3.7'
dist: xenial
env: DOCBUILD=true
os: linux
- python: '2.7'
env: PYLINT=true
os: linux
- python: 'pypy3.3-5.5-alpha'
os: linux
- python: 'pypy-5.4'
env: FIX_REQUESTS_PLEASE=true
os: linux
- python: '3.6'
env: PYLINT=true
os: linux
- python: '3.5'
os: linux
- python: '3.4'
os: linux
cache:
pip: true
notifications:
email: false
webhooks:
urls:
- secure: VasVyNvXBmBZb2GC/pYasakiFZ2CEP9U+kmPlPNwuT0eyAxzyXmovkpdYcR/zr3khoo8NBMWFFksi1bR8Vn6z6MRIpJK3Wp5XZsNog8Zt0t9N0J4ev2gTlRx9emQssa/7xiiD2L58dfbO/s5iB74MzMpmEpZcu2HZG+kIOQa67mxaijlZBW1MNjZziLHHe6Cf+awI05HYzdEwhFnDAzSMJxYXH/gomgi0CfB01dp7Thuc2MN4+OENO/37LS966GdvTiQTlRl89fWgj9UB+9/b8Ej1Y4inyrLaWiRQET9L6eAe99x/a6bwGWvZFJ8CdGBPiqALNVM5L2+1Q7OlEis/nC3PgqHnTr/qcYvsRj9boqixfKhd5/zGbB6JDh34pFHGAPhNVq4o0ql0NnpB6V7h0u7LuiCLPI2v4bIfwM5/1i8gctvE7VO//PuDeAZMso7RkOhURF7Q/LhT2pa+ribfNaftVXoMbJM02xWwMQO7NRzXzTT/ZiwcFy/xG4+FLMxVTI2EmbepfqF9Q0YgpSfZEQKTqBUVAbRLN/F3zu+l8cKchOdOjwbagKXP7kXyjFFmOFxTnptZdy8qBysR4sHpsYfJkgtWb2CZX0jTxBRkeJDIkGlFBASzROpClHR3MgUFcvyGGsjTCaOy6rcGp8VTwGjrruYMfTok/nq6zi/5rM=
on_success: always
on_failure: always
on_start: never
install:
- pip install requests
- if [ ! -z "$FIX_REQUESTS_PLEASE" ]; then source .travis_scripts/fix_requests.sh; fi
- pip install coverage
- source .travis_scripts/upgrade_pytest.sh
# Handled inside lint_travis script
# - pip install pylint
script:
- bash .travis_scripts/run_travis.sh
after_success:
- bash .travis_scripts/lint_travis_success.sh
- bash .travis_scripts/doc_build_travis.sh
after_failure:
- pip install pylint
- cd ..; pylint -E -f colorized pyautoupdate; cd pyautoupdate
after_script:
- wget -O codecov_upload "https://codecov.io/bash"
- python -c 'import sys;print(str(sys.version_info[0])+"."+str(sys.version_info[1]))'
> version.txt
- chmod +x codecov_upload
- cat version.txt | xargs ./codecov_upload -e
- rm version.txt