forked from influxdata/influxdb-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (38 loc) · 1.06 KB
/
Copy path.travis.yml
File metadata and controls
40 lines (38 loc) · 1.06 KB
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
language: python
env:
# - TOX_ENV=py26
# If someone opens a PR to re-enable py26 tests, I will merge it.
# However, that cannot be at the cost of disabling pandas tests in other
# environments.
- TOX_ENV=py27
# - TOX_ENV=py32
# Disabling py32 tests until the following issue is fixed:
# pip 8.x breaks python 3.2 compatibility
# https://github.com/pypa/pip/issues/3390
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
- TOX_ENV=pypy3
- TOX_ENV=docs
- TOX_ENV=flake8
- TOX_ENV=coverage
install:
- pip install tox
- pip install coveralls
- mkdir influxdb_install
- wget https://s3.amazonaws.com/influxdb/influxdb_0.12.1-1_amd64.deb
- dpkg -x influxdb*.deb influxdb_install
script:
- export INFLUXDB_PYTHON_INFLUXD_PATH=$(pwd)/influxdb_install/usr/bin/influxd
- travis_wait 30 tox -e $TOX_ENV
after_success:
- if [ "$TOX_ENV" == "coverage" ] ; then coveralls; fi
notifications:
email: false
sudo: false
# Travis caching
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log