init Travis, add insight-ui to build matrix

This commit is contained in:
Jason Dreyzehner 2017-06-15 17:12:24 -04:00
parent adf9376590
commit db4319d8e2

31
.travis.yml Normal file
View File

@ -0,0 +1,31 @@
sudo: required
dist: trusty
language: node_js
node_js:
- '6'
env: # a separate build will start for each env
- TEST_DIR=app
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
- google-chrome-beta
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- cd $TEST_DIR # switch to the directory we're testing
- npm install
script:
- npm run test-ci
after_success:
- ./node_modules/.bin/codecov # Send coverage