File tree 2 files changed +23
-20
lines changed
2 files changed +23
-20
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
3
+ python :
4
+ - " 2.7"
5
+ - " 3.5"
6
+ - " 3.6"
7
+ - " pypy-5.3.1"
8
+
9
+ env :
10
+ - INFLUXDB_VER=1.2.4
11
+ # - INFLUXDB_VER=1.3.9
12
+ # - INFLUXDB_VER=1.4.2
13
+ # - INFLUXDB_VER=1.5.4
14
+
3
15
addons :
4
16
apt :
5
17
packages :
6
18
- wget
7
19
8
20
matrix :
9
- allow_failures :
10
- - python : 3.4
11
- env : TOX_ENV=docs
12
21
include :
13
- - python : 2.7
14
- env : TOX_ENV=py27
15
22
- python : 2.7
16
23
env : TOX_ENV=pep257
17
- - python : pypy-5.3.1
18
- env : TOX_ENV=pypy
19
- - python : 3.4
20
- env : TOX_ENV=py34
21
- - python : 3.5
22
- env : TOX_ENV=py35
23
- - python : 3.6
24
- env : TOX_ENV=py36
25
24
- python : 3.6
26
25
env : TOX_ENV=docs
27
26
- python : 3.6
@@ -30,17 +29,20 @@ matrix:
30
29
env : TOX_ENV=coverage
31
30
32
31
install :
33
- - pip install tox
32
+ - pip install tox-travis
34
33
- pip install setuptools==20.6.6
35
34
- pip install coveralls
36
- - mkdir influxdb_install
37
- - wget https://dl.influxdata.com/influxdb/releases/influxdb_1.2.4_amd64.deb
38
- - dpkg -x influxdb*.deb influxdb_install
35
+ - mkdir -p "influxdb_install/${INFLUXDB_VER}"
36
+ - if [ -n "${INFLUXDB_VER}" ] ; then wget "https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VER}_amd64.deb" ; fi
37
+ - if [ -n "${INFLUXDB_VER}" ] ; then dpkg -x influxdb*.deb "influxdb_install/${INFLUXDB_VER}" ; fi
38
+
39
39
script :
40
- - export INFLUXDB_PYTHON_INFLUXD_PATH=$(pwd)/influxdb_install/usr/bin/influxd
41
- - tox -e $TOX_ENV
40
+ - export "INFLUXDB_PYTHON_INFLUXD_PATH=$(pwd)/influxdb_install/${INFLUXDB_VER}/usr/bin/influxd"
41
+ - if [ -n "${TOX_ENV}" ]; then tox -e "${TOX_ENV}"; else tox; fi
42
+
42
43
after_success :
43
- - if [ "$TOX_ENV" == "coverage" ] ; then coveralls; fi
44
+ - if [ "${TOX_ENV}" == "coverage" ] ; then coveralls; fi
45
+
44
46
notifications :
45
47
email : false
46
48
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
## [ Unreleased]
8
8
### Added
9
9
- Finally add a CHANGELOG.md to communicate breaking changes (#598 )
10
+ - Test multiple versions of InfluxDB in travis
10
11
### Changed
11
12
- Fix performance degradation when removing NaN values via line protocol (#592 )
12
13
### Removed
You can’t perform that action at this time.
0 commit comments