forked from APSL/kaneda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (59 loc) · 1.55 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
language: python
services:
- mongodb
- redis-server
- elasticsearch
matrix:
include:
- env: TOXENV=py27-dj110
python: 2.7
- env: TOXENV=pypy-dj110
python: pypy
- env: TOXENV=pypy3-dj110
python: pypy3
- env: TOXENV=py34-dj110
python: 3.4
- env: TOXENV=py35-dj110
python: 3.5
- env: TOXENV=py36-dj110
python: 3.6
- env: TOXENV=py27-dj111
python: 2.7
- env: TOXENV=pypy-dj111
python: pypy
- env: TOXENV=pypy3-dj111
python: pypy3
- env: TOXENV=py34-dj111
python: 3.4
- env: TOXENV=py35-dj111
python: 3.5
- env: TOXENV=py36-dj111
python: 3.6
- env: TOXENV=pypy3-dj20
python: pypy3
- env: TOXENV=py34-dj20
python: 3.4
- env: TOXENV=py35-dj20
python: 3.5
- env: TOXENV=py36-dj20
python: 3.6
- env: TOXENV=flake8
python: 3.6
before_install:
# RethinkDB
- source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
- wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
# InfluxDB
- curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
- source /etc/lsb-release
- echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
# Install both
- sudo apt-get update
- sudo apt-get install influxdb rethinkdb -y
install:
- pip install tox
before_script:
- rethinkdb --daemon
- sudo service influxdb start
script:
- tox