Merge pull request #5 from openMF/travis

travis support added
This commit is contained in:
Anwesh Nayak
2018-05-29 20:05:12 +05:30
committed by GitHub
+30
View File
@@ -0,0 +1,30 @@
sudo: required
dist: trusty
language: node_js
addons:
chrome: stable
node_js:
- "9.5"
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- npm install -g --silent @angular/cli
script:
- ng lint
- ng test
- ng e2e
- ng build --prod
after_success:
notifications:
email:
on_failure: always
on_success: change