-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
132 lines (123 loc) · 5.54 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# Config file for automatic testing at travis-ci.org
sudo: required
services:
- docker
language: python
python: 3.6
env:
- TOX_ENV=py34
- TOX_ENV=py35
- TOX_ENV=py36
- ENV=matrix-nose-argparse-py3doc-flake8
- ENV=matrix-nose-click-py3doc-flake8
- ENV=matrix-nose-nocli-py3doc-flake8
- ENV=matrix-nose-nocli-rtd-flake8
- ENV=matrix-nose-plain-py3doc-flake8
- ENV=matrix-pytest-argparse-py3doc-flake8
- ENV=matrix-pytest-cext-nocli-py3doc-flake8
- ENV=matrix-pytest-cext-nocli-rtd-flake8
- ENV=matrix-pytest-cext-optional-nocli-py3doc-flake8
- ENV=matrix-pytest-cext-optional-nocli-rtd-flake8
- ENV=matrix-pytest-cffi-nocli-py3doc-flake8
- ENV=matrix-pytest-cffi-nocli-rtd-flake8
- ENV=matrix-pytest-click-py3doc-flake8
- ENV=matrix-pytest-cython-nocli-py3doc-flake8
- ENV=matrix-pytest-cython-nocli-rtd-flake8
- ENV=matrix-pytest-nocli-py3doc-flake8
- ENV=matrix-pytest-nocli-rtd-flake8
- ENV=matrix-pytest-plain-py3doc-flake8
- ENV=matrix-separatecover-nose-argparse-py3doc-flake8
- ENV=matrix-separatecover-nose-click-py3doc-flake8
- ENV=matrix-separatecover-nose-nocli-py3doc-flake8
- ENV=matrix-separatecover-nose-nocli-rtd-flake8
- ENV=matrix-separatecover-nose-plain-py3doc-flake8
- ENV=matrix-separatecover-pytest-argparse-py3doc-flake8
- ENV=matrix-separatecover-pytest-cext-nocli-py3doc-flake8
- ENV=matrix-separatecover-pytest-cext-nocli-rtd-flake8
- ENV=matrix-separatecover-pytest-cext-optional-nocli-py3doc-flake8
- ENV=matrix-separatecover-pytest-cext-optional-nocli-rtd-flake8
- ENV=matrix-separatecover-pytest-cffi-nocli-py3doc-flake8
- ENV=matrix-separatecover-pytest-cffi-nocli-rtd-flake8
- ENV=matrix-separatecover-pytest-click-py3doc-flake8
- ENV=matrix-separatecover-pytest-cython-nocli-py3doc-flake8
- ENV=matrix-separatecover-pytest-cython-nocli-rtd-flake8
- ENV=matrix-separatecover-pytest-nocli-py3doc-flake8
- ENV=matrix-separatecover-pytest-nocli-rtd-flake8
- ENV=matrix-separatecover-pytest-plain-py3doc-flake8
- ENV=plain-nose-argparse-py3doc-flake8
- ENV=plain-nose-click-py3doc-flake8
- ENV=plain-nose-nocli-py3doc-flake8
- ENV=plain-nose-nocli-rtd-flake8
- ENV=plain-nose-plain-py3doc-flake8
- ENV=plain-pytest-argparse-py3doc-flake8
- ENV=plain-pytest-argparse-py3doc-pylama
- ENV=plain-pytest-cext-nocli-py3doc-flake8
- ENV=plain-pytest-cext-nocli-py3doc-pylama
- ENV=plain-pytest-cext-nocli-rtd-flake8
- ENV=plain-pytest-cext-nocli-rtd-pylama
- ENV=plain-pytest-cext-optional-nocli-py3doc-flake8
- ENV=plain-pytest-cext-optional-nocli-py3doc-pylama
- ENV=plain-pytest-cext-optional-nocli-rtd-flake8
- ENV=plain-pytest-cext-optional-nocli-rtd-pylama
- ENV=plain-pytest-cffi-nocli-py3doc-flake8
- ENV=plain-pytest-cffi-nocli-py3doc-pylama
- ENV=plain-pytest-cffi-nocli-rtd-flake8
- ENV=plain-pytest-cffi-nocli-rtd-pylama
- ENV=plain-pytest-click-py3doc-flake8
- ENV=plain-pytest-click-py3doc-pylama
- ENV=plain-pytest-cython-nocli-py3doc-flake8
- ENV=plain-pytest-cython-nocli-py3doc-pylama
- ENV=plain-pytest-cython-nocli-rtd-flake8
- ENV=plain-pytest-cython-nocli-rtd-pylama
- ENV=plain-pytest-nocli-py3doc-flake8
- ENV=plain-pytest-nocli-py3doc-pylama
- ENV=plain-pytest-nocli-rtd-flake8
- ENV=plain-pytest-nocli-rtd-pylama
- ENV=plain-pytest-plain-py3doc-flake8
- ENV=plain-pytest-plain-py3doc-pylama
- ENV=plain-separatecover-nose-argparse-py3doc-flake8
- ENV=plain-separatecover-nose-click-py3doc-flake8
- ENV=plain-separatecover-nose-nocli-py3doc-flake8
- ENV=plain-separatecover-nose-nocli-rtd-flake8
- ENV=plain-separatecover-nose-plain-py3doc-flake8
- ENV=plain-separatecover-pytest-argparse-py3doc-flake8
- ENV=plain-separatecover-pytest-cext-nocli-py3doc-flake8
- ENV=plain-separatecover-pytest-cext-nocli-rtd-flake8
- ENV=plain-separatecover-pytest-cext-optional-nocli-py3doc-flake8
- ENV=plain-separatecover-pytest-cext-optional-nocli-rtd-flake8
- ENV=plain-separatecover-pytest-cffi-nocli-py3doc-flake8
- ENV=plain-separatecover-pytest-cffi-nocli-rtd-flake8
- ENV=plain-separatecover-pytest-click-py3doc-flake8
- ENV=plain-separatecover-pytest-cython-nocli-py3doc-flake8
- ENV=plain-separatecover-pytest-cython-nocli-rtd-flake8
- ENV=plain-separatecover-pytest-nocli-py3doc-flake8
- ENV=plain-separatecover-pytest-nocli-rtd-flake8
- ENV=plain-separatecover-pytest-plain-py3doc-flake8
before_install:
- python --version
- virtualenv --version
- pip --version
- uname -a
- sudo sh -c 'echo "deb https://apt.dockerproject.org/repo ubuntu-precise main" > /etc/apt/sources.list.d/docker.list'
- sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
- sudo apt-get update
- sudo apt-key update
- sudo apt-get --force-yes -qqy -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install docker-engine=1.11.1-0~precise
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.7.0/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose -v
- docker -v
script:
- git config --global user.email "nyimbi@gmail.com"
- git config --global user.name "Nyimbi Odero"
- ci/test.sh $ENV
- tox -e $TOX_ENV
- sh tests/test_docker.sh
install:
- pip install tox
notifications:
email:
on_success: change
on_failure: always