github-desktop/.travis.yml

61 lines
1.1 KiB
YAML
Raw Normal View History

2016-05-11 16:16:32 +00:00
notifications:
email:
on_success: never
on_failure: change
2017-06-19 15:42:31 +00:00
dist: trusty
sudo: false
os: linux
compiler: clang
env:
- CC=clang CXX=clang++ npm_config_clang=1
2017-06-19 15:42:31 +00:00
addons:
apt:
packages:
# this is required to compile keytar
- libsecret-1-dev
# this package is essential for testing Electron in a headless fashion
# https://github.com/electron/electron/blob/master/docs/tutorial/testing-on-headless-ci.md
- xvfb
2017-07-28 11:21:48 +00:00
# packages required for electron-installer-debian
- fakeroot
- dpkg
2017-07-29 14:34:11 +00:00
# packages required for electron-installer-redhat
- rpm
# packages required for electron-installer-appimage
- xz-utils
- xorriso
- zsync
2016-05-25 21:06:54 +00:00
2016-05-11 16:38:10 +00:00
branches:
only:
- master
2016-05-26 17:53:22 +00:00
- /^__release-.*/
2016-05-11 16:38:10 +00:00
2016-05-11 16:16:32 +00:00
language: node_js
node_js:
2018-07-18 10:42:46 +00:00
- '8.11.0'
2016-05-11 16:16:32 +00:00
2016-05-25 20:49:06 +00:00
cache:
yarn: true
2016-06-22 19:52:07 +00:00
timeout: 600
2016-05-25 20:49:06 +00:00
directories:
- node_modules
- $HOME/.electron
- .eslintcache
- $HOME/.cache/electron-builder
2016-05-25 20:49:06 +00:00
2016-05-11 19:24:06 +00:00
install:
- yarn install --force
2016-05-11 19:24:06 +00:00
script:
2018-07-18 10:42:46 +00:00
- yarn lint && yarn validate-changelog && yarn build:prod && yarn test:setup
&& yarn test
2016-05-11 19:26:57 +00:00
2017-01-25 12:37:06 +00:00
after_failure:
2017-10-10 00:21:03 +00:00
- yarn test:review