This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 14
14
global :
15
15
- CHROME_BIN=/usr/bin/google-chrome
16
16
- secure : " ZSUCLuDjvKEFmgjAd3GpUNCNkdjE66dEIiBfW+EfN0dv2+QHx/MHL4hRyKk2qbGjCr/suR9JWgmNE+Yu1A4fwzcYN52ehgyoLUCTL9YDk+XkFdFWpnjJ8364TDcDuJA0oxwcqJ9E3XUPv6sq1mbcX6DlkPKco7ZT8TLtGmd0nGA="
17
+
17
18
before_install :
18
19
- export DISPLAY=:99.0
19
20
- ./scripts/travis/install.sh
20
21
before_script :
21
22
- ./scripts/travis/setup.sh
22
23
script :
23
24
- ./scripts/travis/build.sh
24
- after_script :
25
- - ./scripts/travis/presubmit.sh
26
- - ./scripts/travis/publish-docs.sh
27
-
25
+ after_success :
26
+ - curl -o travis_after_all.py https://raw.github.com/jbdeboer/travis_after_all/master/travis_after_all.py
27
+ - python travis_after_all.py
28
+ - export $(cat .to_export_back)
29
+ - |
30
+ if [ "$BUILD_LEADER" = "YES" ]; then
31
+ if [ "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
32
+ echo "All Succeded! Submitting..."
33
+ ./scripts/travis/presubmit.sh
34
+ ./scripts/travis/publish-docs.sh
35
+ else
36
+ echo "Some Failed, not submitting"
37
+ fi
38
+ else
39
+ echo "Other builds have not finished, not submitting"
40
+ fi
You can’t perform that action at this time.
0 commit comments