2014-09-29 17:20:23 -04:00
|
|
|
language: node_js
|
2014-12-22 20:50:10 -05:00
|
|
|
sudo: false
|
2014-09-29 17:20:23 -04:00
|
|
|
node_js:
|
|
|
|
- '0.10'
|
|
|
|
env:
|
2014-10-28 06:51:00 -04:00
|
|
|
global:
|
2015-01-08 17:20:05 -05:00
|
|
|
- KARMA_BROWSERS=DartiumWithWebPlatform
|
|
|
|
- E2E_BROWSERS=Dartium
|
2014-09-29 17:20:23 -04:00
|
|
|
- LOGS_DIR=/tmp/angular-build/logs
|
2015-01-08 17:20:05 -05:00
|
|
|
- ARCH=linux-x64
|
2015-02-12 18:00:43 -05:00
|
|
|
matrix:
|
2015-02-13 17:59:29 -05:00
|
|
|
- MODE=js DART_CHANNEL=stable
|
2015-02-17 19:12:11 -05:00
|
|
|
# Dissabled until Dart v1.9 hits stable
|
|
|
|
# - MODE=dart DART_CHANNEL=stable
|
2015-02-13 17:59:29 -05:00
|
|
|
- MODE=dart DART_CHANNEL=dev
|
2014-09-29 17:20:23 -04:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- export DISPLAY=:99.0
|
2015-01-08 17:20:05 -05:00
|
|
|
- export GIT_SHA=$(git rev-parse HEAD)
|
|
|
|
- ./scripts/ci/init_android.sh
|
2015-02-13 17:59:29 -05:00
|
|
|
- ./scripts/ci/install_dart.sh ${DART_CHANNEL} ${ARCH}
|
2014-09-29 17:20:23 -04:00
|
|
|
- sh -e /etc/init.d/xvfb start
|
|
|
|
- if [[ -e SKIP_TRAVIS_TESTS ]]; then { cat SKIP_TRAVIS_TESTS ; exit 0; } fi
|
|
|
|
before_script:
|
|
|
|
- mkdir -p $LOGS_DIR
|
|
|
|
script:
|
2015-02-13 17:59:29 -05:00
|
|
|
- ./scripts/ci/build_and_test.sh ${MODE}
|
2014-09-29 17:20:23 -04:00
|
|
|
after_script:
|
2015-01-08 17:20:05 -05:00
|
|
|
- ./scripts/ci/print-logs.sh
|