mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-05 10:13:10 +00:00
Add travisci
This commit is contained in:
parent
2cf639549a
commit
509513a7c9
26
.travis.yml
Normal file
26
.travis.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user