File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 39
39
- TEST_SUITE=lint OPENSHIFT_VERSION=latest
40
40
- stage : deploy
41
41
script : skip
42
+ python : ' 3.5'
42
43
deploy :
43
44
provider : pypi
44
45
user : openshift
49
50
repo : openshift/openshift-restclient-python
50
51
condition : " $TRAVIS_TAG =~ ^v[0-9]+\\ .[0-9]+\\ .[0-9]+(([ab]|dev|rc)[0-9]+)?$"
51
52
- stage : test-deploy
53
+ python : ' 3.5'
52
54
script : python -c "import openshift ; print(openshift.__version__)"
53
55
install :
54
56
- pip install openshift
Original file line number Diff line number Diff line change 1
1
jinja2
2
- kubernetes
2
+ kubernetes ~= 12.0
3
3
python-string-utils
4
4
ruamel.yaml
5
5
six
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ echo "--- updating version information..."
9
9
sed -i' ' " s/^CLIENT_VERSION = .*/CLIENT_VERSION = \\\" ${CLIENT_VERSION} \\\" /" " ${SCRIPT_ROOT} /../setup.py"
10
10
sed -i' ' " s/^__version__ = .*/__version__ = \\\" ${CLIENT_VERSION} \\\" /" " ${CLIENT_ROOT} /__init__.py"
11
11
sed -i' ' " s/^Version:.*/Version: ${CLIENT_VERSION} /" " ${SCRIPT_ROOT} /../python-openshift.spec"
12
- sed -i' ' " s/^kubernetes ~= .*/kubernetes ~= ${KUBERNETES_CLIENT_VERSION} /" " ${SCRIPT_ROOT} /../requirements.txt"
12
+ sed -i' ' " s/^kubernetes.*/kubernetes ~= ${KUBERNETES_CLIENT_VERSION} /" " ${SCRIPT_ROOT} /../requirements.txt"
13
13
sed -i' ' " s/^__k8s_client_version__ = .*/__k8s_client_version__ = \\\" ${KUBERNETES_CLIENT_VERSION} \\\" /" " ${CLIENT_ROOT} /__init__.py"
14
14
sed -i' ' " s/^kubernetes .=.*/kubernetes ~= ${KUBERNETES_CLIENT_VERSION} /" ${SOURCE_ROOT} /requirements.txt
You can’t perform that action at this time.
0 commit comments