github-desktop/.travis.yml
2018-12-27 15:05:21 -08:00

49 lines
886 B
YAML

notifications:
email:
on_success: never
on_failure: change
dist: trusty
os: linux
compiler: clang
env:
- CC=clang CXX=clang++ npm_config_clang=1
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
branches:
only:
- development
- /^__release-.*/
language: node_js
node_js:
- '8.12'
cache:
yarn: true
timeout: 600
directories:
- node_modules
- $HOME/.electron
- .eslintcache
- $HOME/.cache/electron-builder
install:
- yarn install --force
script:
- yarn lint && yarn validate-changelog && yarn build:prod && yarn test:setup
&& yarn test && yarn test:report
after_failure:
- yarn test:review