mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
41 lines
884 B
YAML
41 lines
884 B
YAML
sudo: required
|
|
dist: xenial
|
|
|
|
language: node_js
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
node_js: 12
|
|
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 sudo snap install snapcraft --classic; fi
|
|
- 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+$/"
|