forked from influxdata/influxdb-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (46 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
39
40
41
42
43
44
45
46
47
48
49
50
51
language: python
addons:
apt:
packages:
- wget
matrix:
allow_failures:
- python: 3.4
env: TOX_ENV=docs
include:
- python: 2.7
env: TOX_ENV=py27
- python: pypy-5.3.1
env: TOX_ENV=pypy
- python: 3.4
env: TOX_ENV=py34
# An issue in travis-ci prevents this case from running
# Link to issue: https://github.com/travis-ci/travis-ci/issues/6304
# - python: pypy3.3-5.2-alpha1
# env: TOX_ENV=pypy3
- python: 3.4
env: TOX_ENV=docs
- python: 3.4
env: TOX_ENV=flake8
- python: 3.4
env: TOX_ENV=coverage
install:
- pip install tox
- pip install coveralls
- mkdir influxdb_install
- wget https://dl.influxdata.com/influxdb/releases/influxdb_1.1.0_amd64.deb
- dpkg -x influxdb*.deb influxdb_install
script:
- export INFLUXDB_PYTHON_INFLUXD_PATH=$(pwd)/influxdb_install/usr/bin/influxd
- tox -e $TOX_ENV
after_success:
- if [ "$TOX_ENV" == "coverage" ] ; then coveralls; fi
notifications:
email: false
sudo: false
# Travis caching
cache: false
# directories:
# - $HOME/.cache/pip
#before_cache:
# - rm -f $HOME/.cache/pip/log/debug.log