.travis.yml
dist: trusty
sudo: false
language: node_js
node_js:
- '10'
branches:
only:
- master
- develop
- /^greenkeeper/.*$/
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
cache:
directories:
- ./node_modules
install:
- pushd $TRAVIS_BUILD_DIR
- npm install
script:
- npm run build
notifications:
email:
recipients:
- rajeyw@gmail.com
on_failure: always
on_success: always
slack: hisptz:2UQgrRwNrI14ohefnnPyzms7