use python 3.6.3 as default in travis build

This commit is contained in:
wing328
2018-02-01 17:28:55 +08:00
parent f6e0e297eb
commit 1fbc3768a2

View File

@@ -39,7 +39,8 @@ before_install:
- npm install -g typescript
- npm install -g npm
- npm config set registry http://registry.npmjs.org/
- sudo pip install virtualenv
# set python 3.6.3 as default
- source ~/virtualenv/python3.6/bin/activate
# to run petstore server locally via docker
- docker pull swaggerapi/petstore
- docker run -d -e SWAGGER_HOST=http://petstore.swagger.io -e SWAGGER_BASE_PATH=/v2 -p 80:8080 swaggerapi/petstore