File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ commands:
20
20
- restore_cache :
21
21
name : Restoring Pip Cache
22
22
keys :
23
- - &cache-key pip-cache-v8 -<< parameters.python-image >>-{{ checksum "requirements.txt" }}-{{ checksum "test-requirements.txt" }}-{{ checksum "extra-requirements.txt" }}
24
- - pip-cache-v8 -<< parameters.python-image >>-
23
+ - &cache-key pip-cache-v9 -<< parameters.python-image >>-{{ checksum "requirements.txt" }}-{{ checksum "test-requirements.txt" }}-{{ checksum "extra-requirements.txt" }}
24
+ - pip-cache-v9 -<< parameters.python-image >>-
25
25
- run :
26
26
command : | # use pipenv to install dependencies
27
27
sudo pip install pipenv
@@ -48,10 +48,14 @@ jobs:
48
48
influxdb-image :
49
49
type : string
50
50
default : " influxdb:2.0.0-beta"
51
+ disable-ciso-8601 :
52
+ type : boolean
53
+ default : false
51
54
docker :
52
55
- image : << parameters.python-image >>
53
56
environment : # environment variables for primary container
54
57
PIPENV_VENV_IN_PROJECT : true
58
+ DISABLE_CISO_8601 : << parameters.disable-ciso-8601 >>
55
59
- image : quay.io/influxdb/<< parameters.influxdb-image >>
56
60
steps :
57
61
- prepare
@@ -69,6 +73,9 @@ workflows:
69
73
jobs :
70
74
- tests-python :
71
75
name : python-3.6
76
+ - tests-python :
77
+ name : python-3.6-without-ciso8601
78
+ disable-ciso-8601 : true
72
79
- tests-python :
73
80
name : python-3.6-nightly
74
81
influxdb-image : " influx:nightly"
Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ python --version
9
9
pip install -r requirements.txt --user
10
10
pip install -r extra-requirements.txt --user
11
11
pip install -r test-requirements.txt --user
12
- pip install -r ciso-requirements.txt --user
12
+ if [ " $DISABLE_CISO_8601 " = true ] ; then
13
+ echo " ciso8601 is disabled"
14
+ pip install -r ciso-requirements.txt --user
15
+ fi
13
16
pip install pytest pytest-cov --user
14
17
pip install twine --user
15
18
python setup.py sdist bdist_wheel
You can’t perform that action at this time.
0 commit comments