-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.travis.yml
38 lines (31 loc) · 1.13 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
language: python
install: pip install tox
env:
matrix:
# consul 0.7.5
- TOX_ENV=py27 CONSUL_VERSION=0.7.5
- TOX_ENV=py33 CONSUL_VERSION=0.7.5
- TOX_ENV=py34 CONSUL_VERSION=0.7.5
- TOX_ENV=py35 CONSUL_VERSION=0.7.5
# consul 0.8.5
- TOX_ENV=py27 CONSUL_VERSION=0.8.5
- TOX_ENV=py33 CONSUL_VERSION=0.8.5
- TOX_ENV=py34 CONSUL_VERSION=0.8.5
- TOX_ENV=py35 CONSUL_VERSION=0.8.5
# consul 0.9.0
- TOX_ENV=py27 CONSUL_VERSION=0.9.0
- TOX_ENV=py33 CONSUL_VERSION=0.9.0
- TOX_ENV=py34 CONSUL_VERSION=0.9.0
- TOX_ENV=py35 CONSUL_VERSION=0.9.0
# coverage and style checks
- TOX_ENV=pep8 CONSUL_VERSION=0.9.0
- TOX_ENV=coverage CONSUL_VERSION=0.9.0
before_script:
- wget https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip
- unzip consul_${CONSUL_VERSION}_linux_amd64.zip
- start-stop-daemon --start --background --exec ${TRAVIS_BUILD_DIR}/consul -- agent -server -data-dir /tmp/consul -bootstrap-expect=1
script:
- tox -e $TOX_ENV
notifications:
email:
- swistakm@gmail.com