Use py36
This commit makes to use python3.6 instead of python2.7 in postinstall since python2.7 will be EOL soon. And, this commit encourages to use py36 task instead of py27 as well. And also this commit changes to use node8 to test in the upstream gate. Change-Id: I75f0045e88d20d04ecbcdc798bcf3f45d2c27e7a
This commit is contained in:
parent
1b949c4e2b
commit
30856e46a7
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- nodejs4-jobs
|
- nodejs8-jobs
|
||||||
- openstack-python-jobs
|
- openstack-python-jobs
|
||||||
- publish-openstack-docs-pti
|
- publish-openstack-docs-pti
|
||||||
- openstack-python36-jobs
|
- openstack-python36-jobs
|
||||||
|
@ -96,7 +96,7 @@ Data should be written to :code:`stackviz-html/data/` using
|
|||||||
|
|
||||||
Testing
|
Testing
|
||||||
=======
|
=======
|
||||||
* Python tests: :code:`tox -e py27`
|
* Python tests: :code:`tox -e py36`
|
||||||
* JavaScript unit tests: :code:`gulp unit`
|
* JavaScript unit tests: :code:`gulp unit`
|
||||||
* JavaScript E2E tests: :code:`gulp e2e`
|
* JavaScript E2E tests: :code:`gulp e2e`
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
"watchify": "3.7.0"
|
"watchify": "3.7.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "if [ ! -d .venv ]; then tox -epy27 --notest; fi",
|
"postinstall": "if [ ! -d .venv ]; then tox -epy36 --notest; fi",
|
||||||
"test": "gulp unit",
|
"test": "gulp unit",
|
||||||
"lint": "eslint ./",
|
"lint": "eslint ./",
|
||||||
"prod": "gulp prod; python setup.py sdist"
|
"prod": "gulp prod; python setup.py sdist"
|
||||||
|
Loading…
Reference in New Issue
Block a user