forked from dart-archive/angular.dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (49 loc) · 1.27 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: node_js
node_js:
- "0.11"
addons:
firefox: "28.0"
env:
matrix:
- JOB=unit-stable
CHANNEL=stable
TESTS=vm
- JOB=unit-dev
CHANNEL=dev
TESTS=vm
- JOB=unit-stable
CHANNEL=stable
TESTS=dart2js
- JOB=unit-dev
CHANNEL=DEV
TESTS=dart2js
global:
- CHROME_BIN=/usr/bin/google-chrome
- secure: "ZSUCLuDjvKEFmgjAd3GpUNCNkdjE66dEIiBfW+EfN0dv2+QHx/MHL4hRyKk2qbGjCr/suR9JWgmNE+Yu1A4fwzcYN52ehgyoLUCTL9YDk+XkFdFWpnjJ8364TDcDuJA0oxwcqJ9E3XUPv6sq1mbcX6DlkPKco7ZT8TLtGmd0nGA="
# Don't test these branches.
branches:
except:
- g3v1x
before_install:
- export DISPLAY=:99.0
- ./scripts/travis/install.sh
before_script:
- ./scripts/travis/setup.sh
script:
- ./scripts/travis/build.sh
after_success:
- ./scripts/travis/publish-docs.sh
- curl -o travis_after_all.py https://raw.github.com/jbdeboer/travis_after_all/master/travis_after_all.py
- python travis_after_all.py
- export $(cat .to_export_back)
- |
if [ "$BUILD_LEADER" = "YES" ]; then
if [ "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
echo "All Succeded! Submitting..."
./scripts/travis/presubmit.sh
else
echo "Some Failed, not submitting"
fi
else
echo "Other builds have not finished, not submitting"
fi