hyper/.travis.yml

46 lines
1 KiB
YAML
Raw Normal View History

sudo: required
dist: trusty
language: node_js
matrix:
include:
- os: linux
node_js: 8.0.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
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
cache: yarn
2017-01-08 10:06:00 -09:00
install:
2017-02-23 11:43:12 -09:00
- yarn
2017-01-08 10:06:00 -09:00
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)
2017-02-23 12:02:53 -09:00
- yarn run dist
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"