This repository was archived by the owner on Oct 12, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-0
lines changed Expand file tree Collapse file tree 4 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js : " 4.2.1"
3+
4+ before_install :
5+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CHROME_BIN=chromium-browser; fi # Karma CI
6+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi
7+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
8+
39install : ./install.sh
410script : ./test.sh
Original file line number Diff line number Diff line change @@ -39,4 +39,8 @@ module.exports = function (config) {
3939 browsers : [ 'Chrome' ] ,
4040 singleRun : false
4141 } ) ;
42+ if ( process . env . TRAVIS || process . env . CIRCLECI ) {
43+ config . browsers = [ 'Chrome_travis_ci' ] ;
44+ config . singleRun = true ;
45+ }
4246} ;
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ npm config set registry http://registry.npmjs.org/
23cd ./service-worker/worker
34npm install
5+ cd ../../app-shell
6+ npm install
47
Original file line number Diff line number Diff line change 11#! /bin/bash
22cd ./service-worker/worker
33gulp test
4+ cd ../../app-shell
5+ ./node_modules/.bin/ng test --watch=false
46
You can’t perform that action at this time.
0 commit comments