This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +35
-18
lines changed Expand file tree Collapse file tree 3 files changed +35
-18
lines changed Original file line number Diff line number Diff line change 19
19
TESTS=dart2js
20
20
global :
21
21
- CHROME_BIN=/usr/bin/google-chrome
22
- # https://github.com/angular/angular.dart/commit/40563c891ed63e86b72d160fcafc6bfda0d21577
23
- # was good, but I'd recommend to regenerate leaked access token before
24
- # someone would use it in name of evil
22
+ - secure : " AKoqpZ699egF0i4uT/FQ5b4jIc0h+KVbhtVCql0uFxwFIl2HjOYgDayrUCAf6USfpW0LghZxJJhBamWOl/505eNSe9HvEd8JLg/to+1Fo9xi9llsu5ehmNH31/5pue4EvsrVuEap1qqL6/BNwI2cAryayU0p5tV0g8gL5h4IxG8="
25
23
26
24
# Don't test these branches.
27
25
branches :
@@ -36,18 +34,4 @@ before_script:
36
34
script :
37
35
- ./scripts/travis/build.sh
38
36
after_success :
39
- - ./scripts/travis/publish-docs.sh
40
- - curl -Lo travis_after_all.py https://raw.github.com/jbdeboer/travis_after_all/master/travis_after_all.py
41
- - python travis_after_all.py
42
- - export $(cat .to_export_back)
43
- - |
44
- if [ "$BUILD_LEADER" = "YES" ]; then
45
- if [ "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
46
- echo "All Succeded! Submitting..."
47
- ./scripts/travis/presubmit.sh
48
- else
49
- echo "Some Failed, not submitting"
50
- fi
51
- else
52
- echo "Other builds have not finished, not submitting"
53
- fi
37
+ - ./scripts/travis/after-success.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ echo ' *******************'
5
+ echo ' ** AFTER_SUCCESS **'
6
+ echo ' *******************'
7
+
8
+
9
+ echo ' ---------------------'
10
+ echo ' -- WAIT FOR OTHERS --'
11
+ echo ' ---------------------'
12
+
13
+ curl -Lo travis_after_all.py https://raw.github.com/jbdeboer/travis_after_all/master/travis_after_all.py
14
+ python travis_after_all.py
15
+ . .to_export_back
16
+
17
+ echo BUILD_LEADER=$BUILD_LEADER
18
+ echo BUILD_AGGREGATE_STATUS=$BUILD_AGGREGATE_STATUS
19
+
20
+ if [ " $BUILD_LEADER " = " YES" ]; then
21
+ if [ " $BUILD_AGGREGATE_STATUS " = " others_succeeded" ]; then
22
+ ./scripts/travis/presubmit.sh
23
+ else
24
+ echo " ERROR: Some Failed, not submitting"
25
+ fi
26
+ else
27
+ echo " ERROR: Other builds have not finished, not submitting"
28
+ fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+ set -e
2
3
3
4
# If we're on the presubmit branch, the stable Dart release, and all unit
4
5
# tests pass, merge the presubmit branch into master and push it.
5
6
7
+ echo ' ***************'
8
+ echo ' ** PRESUBMIT **'
9
+ echo ' ***************'
10
+
6
11
7
12
CHANNEL=` echo $JOB | cut -f 2 -d -`
8
13
SHA=` git rev-parse HEAD`
You can’t perform that action at this time.
0 commit comments