hyper/.travis.yml
Benjamin Staneck 6d61ac400c Electron 1.8 is out (#2663)
* update electron to 1.8.2

release notes: https://github.com/electron/electron/releases/tag/v1.8.2

* change yarn installation on travis

travis detects yarn lockfiles and automatically uses yarn in that case so no need to install it

* yarn is preinstalled on circleci
2018-02-12 22:18:29 +01:00

40 lines
793 B
YAML

sudo: required
dist: trusty
language: node_js
matrix:
include:
- os: linux
node_js: 8
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
addons:
apt:
packages:
- gcc-multilib
- g++-multilib
- libgnome-keyring-dev
- icnsutils
- graphicsmagick
- xz-utils
- rpm
- bsdtar
- snapd
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi
cache: yarn
install:
- yarn
after_success:
- (git branch --contains $TRAVIS_COMMIT | grep canary > /dev/null || [[ "$TRAVIS_BRANCH" == "canary" ]] ) && (cd build; cp canary.icns icon.icns; cp canary.ico icon.ico)
- yarn run dist
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"