Add travisci

This commit is contained in:
ziajka 2017-10-18 16:08:32 +02:00
parent 2cf639549a
commit 509513a7c9

26
.travis.yml Normal file
View File

@ -0,0 +1,26 @@
sudo: required
dist: trusty
language: node_js
node_js:
- '8.7.0'
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:
- npm install -g angular-cli
- npm install -g karma
- npm install
- ng build
script: karma start config/karma.conf.js --single-run