chore(travis): add preview builds
This commit is contained in:
parent
b21c90c358
commit
4c1b441227
|
@ -11,13 +11,19 @@ env:
|
||||||
- DISPLAY=:99.0
|
- DISPLAY=:99.0
|
||||||
- CHROME_BIN=chromium-browser
|
- CHROME_BIN=chromium-browser
|
||||||
matrix:
|
matrix:
|
||||||
- SCRIPT="lint"
|
- SCRIPT=lint
|
||||||
- SCRIPT="run-e2e-tests --fast"
|
- SCRIPT="run-e2e-tests --fast"
|
||||||
|
- SCRIPT="run-e2e-tests --fast" PREVIEW=true
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
allow_failures:
|
||||||
|
- env: "SCRIPT=\"run-e2e-tests --fast\" PREVIEW=true"
|
||||||
before_install:
|
before_install:
|
||||||
- npm install -g gulp --no-optional
|
- npm install -g gulp --no-optional
|
||||||
before_script:
|
before_script:
|
||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start
|
||||||
install:
|
install:
|
||||||
- ./script/install.sh
|
- ./script/install.sh
|
||||||
|
- if [[ $PREVIEW == true ]]; then npm install --prefix public/docs/_examples angular/{core,common,compiler,platform-browser,platform-browser-dynamic,http,forms,router-deprecated,router,upgrade}-builds; fi
|
||||||
script:
|
script:
|
||||||
- gulp $SCRIPT
|
- gulp $SCRIPT
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
set -ex -o pipefail
|
set -ex -o pipefail
|
||||||
|
|
||||||
npm install --no-optional
|
npm install --no-optional
|
||||||
(cd public/docs/_examples && npm install)
|
(cd public/docs/_examples && npm install --no-optional)
|
||||||
(cd public/docs/_examples/_protractor && npm install)
|
(cd public/docs/_examples/_protractor && npm install --no-optional)
|
||||||
npm run webdriver:update --prefix public/docs/_examples/_protractor
|
npm run webdriver:update --prefix public/docs/_examples/_protractor
|
||||||
gulp add-example-boilerplate
|
gulp add-example-boilerplate
|
||||||
|
|
Loading…
Reference in New Issue