Skip to content

Commit d344299

Browse files
committed
Travis: export INFLUXDB_PYTHON_INFLUXD_PATH during install
1 parent f6e2411 commit d344299

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ install:
1515
- mkdir influxdb_install
1616
- wget https://s3.amazonaws.com/influxdb/influxdb_0.9.2_amd64.deb
1717
- dpkg -x influxdb_*_amd64.deb influxdb_install
18-
- export INFLUXDB_PYTHON_INFLUXD_PATH=$(pwd)/influxdb_install/opt/influxdb/versions/0.9.2/influxd
1918
script:
19+
- export INFLUXDB_PYTHON_INFLUXD_PATH=$(pwd)/influxdb_install/opt/influxdb/versions/0.9.2/influxd
2020
- travis_wait 30 tox -e $TOX_ENV
2121
after_success:
2222
- if [ "$TOX_ENV" == "coverage" ] ; then coveralls; fi

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
envlist = py34, py27, pypy, flake8
33

44
[testenv]
5+
passenv = INFLUXDB_PYTHON_INFLUXD_PATH
6+
setenv = INFLUXDB_PYTHON_SKIP_SERVER_TESTS=False
57
deps = -r{toxinidir}/requirements.txt
68
-r{toxinidir}/test-requirements.txt
79
py27,py32,py33,py34: pandas
810
# Only install pandas with non-pypy interpreters
911
commands = nosetests -v --with-doctest {posargs}
1012

1113
[testenv:flake8]
12-
setenv = INFLUXDB_PYTHON_SKIP_SERVER_TESTS=False
1314
deps =
1415
flake8
1516
pep8-naming

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy