mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-07 19:18:40 +00:00
Merge pull request #278 from GNS3/update-travisci-xenial
Update TravisCI to Xenial, Fixes: #277
This commit is contained in:
commit
0eeb983951
26
.travis.yml
26
.travis.yml
@ -11,34 +11,27 @@ cache:
|
|||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
|
||||||
|
dist: xenial
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
- google-chrome
|
- google-chrome
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
packages:
|
packages:
|
||||||
- google-chrome-stable
|
- google_chrome
|
||||||
- google-chrome-beta
|
|
||||||
- g++-4.8
|
- g++-4.8
|
||||||
|
|
||||||
|
services:
|
||||||
|
- xvfb
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- export CHROME_BIN=chromium-browser
|
|
||||||
- export DISPLAY=:99.0
|
|
||||||
- sh -e /etc/init.d/xvfb start
|
|
||||||
# greenkeeper-lockfile support
|
# greenkeeper-lockfile support
|
||||||
- yarn global add greenkeeper-lockfile@1
|
- yarn global add greenkeeper-lockfile@1
|
||||||
|
|
||||||
# Ubuntu trusty supports max python3.4, cx_freeze-5.1.1 requires min 3.5
|
|
||||||
# Remove when goes to xenial
|
|
||||||
- |
|
- |
|
||||||
curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
|
|
||||||
export PATH="~/.pyenv/bin:$PATH"
|
|
||||||
eval "$(pyenv init -)"
|
|
||||||
eval "$(pyenv virtualenv-init -)"
|
|
||||||
pyenv virtualenv 3.6.3 general
|
|
||||||
pyenv global general
|
|
||||||
python3 -V
|
python3 -V
|
||||||
pip3 -V
|
wget -qO- https://bootstrap.pypa.io/get-pip.py | sudo python3
|
||||||
|
python3 -m pip -V
|
||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
@ -70,9 +63,8 @@ after_script:
|
|||||||
|
|
||||||
# publish
|
# publish
|
||||||
- yarn buildforelectron
|
- yarn buildforelectron
|
||||||
- python3 -m venv env
|
|
||||||
- |
|
- |
|
||||||
pip3 install -r scripts/requirements.txt
|
python3 -m pip install -r scripts/requirements.txt
|
||||||
python3 scripts/build.py download
|
python3 scripts/build.py download
|
||||||
python3 scripts/build.py build_exe -b dist/exe.gns3server -s
|
python3 scripts/build.py build_exe -b dist/exe.gns3server -s
|
||||||
python3 scripts/build.py validate -b dist
|
python3 scripts/build.py validate -b dist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user