2016-10-05 09:51:15 -08:00
|
|
|
sudo: required
|
|
|
|
|
dist: trusty
|
|
|
|
|
|
2016-10-14 10:40:32 -08:00
|
|
|
language: node_js
|
2016-10-05 09:51:15 -08:00
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
|
include:
|
|
|
|
|
- os: linux
|
2018-04-16 06:17:17 -08:00
|
|
|
node_js: 8
|
2016-10-05 09:51:15 -08:00
|
|
|
env: CC=clang CXX=clang++ npm_config_clang=1
|
|
|
|
|
compiler: clang
|
|
|
|
|
|
|
|
|
|
addons:
|
|
|
|
|
apt:
|
|
|
|
|
packages:
|
2017-06-27 15:56:21 -08:00
|
|
|
- gcc-multilib
|
|
|
|
|
- g++-multilib
|
2016-10-05 09:51:15 -08:00
|
|
|
- libgnome-keyring-dev
|
|
|
|
|
- icnsutils
|
|
|
|
|
- graphicsmagick
|
|
|
|
|
- xz-utils
|
|
|
|
|
- rpm
|
|
|
|
|
- bsdtar
|
2017-03-18 15:08:32 -08:00
|
|
|
- snapd
|
2016-10-05 09:51:15 -08:00
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi
|
2017-08-13 08:53:28 -08:00
|
|
|
|
|
|
|
|
cache: yarn
|
2016-10-05 09:51:15 -08:00
|
|
|
|
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
|
|
|
|
2016-10-14 10:40:32 -08:00
|
|
|
after_success:
|
2018-04-16 06:17:17 -08:00
|
|
|
- (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
|
2016-10-05 09:51:15 -08:00
|
|
|
|
|
|
|
|
branches:
|
|
|
|
|
except:
|
|
|
|
|
- "/^v\\d+\\.\\d+\\.\\d+$/"
|