mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-17 14:28:13 +00:00
Use Xenial for travis builds
This commit is contained in:
14
.travis.yml
14
.travis.yml
@ -11,6 +11,8 @@ cache:
|
|||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
|
||||||
|
dist: xenial
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
@ -31,12 +33,12 @@ before_install:
|
|||||||
# Ubuntu trusty supports max python3.4, cx_freeze-5.1.1 requires min 3.5
|
# Ubuntu trusty supports max python3.4, cx_freeze-5.1.1 requires min 3.5
|
||||||
# Remove when goes to xenial
|
# Remove when goes to xenial
|
||||||
- |
|
- |
|
||||||
curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
|
# curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
|
||||||
export PATH="~/.pyenv/bin:$PATH"
|
# export PATH="~/.pyenv/bin:$PATH"
|
||||||
eval "$(pyenv init -)"
|
# eval "$(pyenv init -)"
|
||||||
eval "$(pyenv virtualenv-init -)"
|
# eval "$(pyenv virtualenv-init -)"
|
||||||
pyenv virtualenv 3.6.3 general
|
# pyenv virtualenv 3.6.3 general
|
||||||
pyenv global general
|
# pyenv global general
|
||||||
python3 -V
|
python3 -V
|
||||||
pip3 -V
|
pip3 -V
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user