diff --git a/.travis.yml b/.travis.yml index 6d2671cd..ddf8de2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,34 +11,27 @@ cache: directories: - node_modules +dist: xenial + addons: apt: sources: - google-chrome - ubuntu-toolchain-r-test packages: - - google-chrome-stable - - google-chrome-beta + - google_chrome - g++-4.8 +services: + - xvfb + before_install: - - export CHROME_BIN=chromium-browser - - export DISPLAY=:99.0 - - sh -e /etc/init.d/xvfb start # greenkeeper-lockfile support - 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 - pip3 -V + wget -qO- https://bootstrap.pypa.io/get-pip.py | sudo python3 + python3 -m pip -V before_script: @@ -70,9 +63,8 @@ after_script: # publish - 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 build_exe -b dist/exe.gns3server -s python3 scripts/build.py validate -b dist