hyper/.travis.yml
2017-09-20 01:09:39 +02:00

41 lines
738 B
YAML

sudo: required
dist: trusty
language: node_js
matrix:
include:
- os: linux
node_js: 8.4.0
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
- npm install -g yarn
cache: yarn
install:
- yarn
after_success:
- if [[ "$TRAVIS_BRANCH" == "canary" ]]; then cp build/canary.icns build/icon.icns; fi
- yarn run dist
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"