forked from apache/libcloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
75 lines (69 loc) · 1.74 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
language: python
sudo: false
dist: trusty
os: linux
# Note: graphviz is needed for grapgs embedded in the docs
addons:
apt:
packages:
- graphviz
- libvirt-dev
matrix:
fast_finish: true
include:
- python: 2.7
- python: 3.4
- python: 3.5
- python: 3.6
- python: 3.7
dist: xenial
sudo: required
- python: pypy
- python: pypy3
- env: ENV=checks
python: 2.7
before_script: TOX_ENV=checks
- env: ENV=lint
python: 2.7
before_script: TOX_ENV=lint
- env: ENV=pylint
python: 2.7
before_script: TOX_ENV=pylint
- env: ENV=coverage
python: 2.7
before_script: TOX_ENV=coverage-travis
- env:
- ENV=docs
- secure: "d4F2RE2iWFh6yqE5MUxnakDihBMsY/hMsaMWllVAYU/fvCMKhaW97d51EiS55kur/eNVX2jpEqkVkSu5VeNSxC3w9sZTG+dHVb8A43o9QaSCPngvHTZ4X9fx8lB96G7uju6pmm5ovKt85hxZW2uQNYo3ugwCUl94lVDYqo+KJUM="
python: 3.5
before_script: TOX_ENV=docs-travis
# Note: graphviz is needed for grapgs embedded in the docs
addons:
apt:
packages:
- graphviz
- gcc
- libvirt-dev
# Trigger ReadTheDocs build on docs builder
after_success:
- pip3 install requests
- python3 ./contrib/trigger_rtd_build.py
install:
- pip install --upgrade "pip==9.0.1"
- pip install "virtualenv==15.1.0"
- pip install "tox==3.12.1"
- TOX_ENV=py$TRAVIS_PYTHON_VERSION
script:
- tox -e $TOX_ENV
cache:
apt: true
directories:
- $HOME/.cache/pip # pip cache
- .tox
notifications:
# Disabled until ASF switches to new mailing list software
# when we can whitelist addresses
#email:
# - "[email protected]"
irc:
- "chat.freenode.net#libcloud"