File tree 2 files changed +26
-12
lines changed
2 files changed +26
-12
lines changed Original file line number Diff line number Diff line change 1
1
language : dart
2
- dart : [stable, dev]
3
2
4
3
cache :
5
4
timeout : 300
14
13
global :
15
14
- JEKYLL_ENV=production
16
15
- TZ=US/Pacific # normalize build timestamp
17
- matrix :
18
- - TASK="./tool/check-code.sh"
19
- - TASK="./tool/analyze-and-test-examples.sh"
20
- - TASK="bundle exec jekyll build"
21
16
22
17
matrix :
23
- # allow_failures:
24
- # - env: TASK="./tool/analyze-and-test-examples.sh"
25
- # dart: stable
18
+ include :
19
+ - env : TASK="bundle exec jekyll build"
20
+ dart : stable
21
+ - env : TASK="./tool/check-code.sh"
22
+ dart : stable
23
+ - env : TASK="./tool/check-code.sh"
24
+ dart : dev
25
+ - env : TASK="./tool/analyze-and-test-examples.sh"
26
+ dart : stable
27
+ - env : TASK="./tool/analyze-and-test-examples.sh"
28
+ dart : dev
29
+ - env : TASK="./tool/build-and-check-links.sh"
30
+ dart : stable
26
31
allow_failures :
27
32
- env : TASK="./tool/analyze-and-test-examples.sh"
28
33
dart : dev
29
34
- env : TASK="./tool/check-code.sh"
30
35
dart : dev
31
- exclude :
32
- - env : TASK="bundle exec jekyll build"
33
- dart : dev
36
+ - env : TASK="./tool/build-and-check-links.sh"
37
+ dart : stable
34
38
35
39
before_install :
36
40
- source ./tool/env-set.sh
@@ -44,7 +48,6 @@ script:
44
48
- $TASK
45
49
46
50
after_script :
47
- - if [[ $TASK == *build* ]]; then ./tool/shared/check-links.sh || travis_terminate 1; fi
48
51
# Just FYI test. Won't fail the build if it has errors.
49
52
# - if [[ $TASK == *build* ]]; then ./deploy/check_sitemap.rb; fi
50
53
# - if [[ $TASK == *build* ]]; then ./deploy/html_proof.rb; fi
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e -o pipefail
4
+
5
+ readonly rootDir=" $( cd " $( dirname " $0 " ) /.." && pwd) "
6
+
7
+ # Build site
8
+ bundle exec jekyll build
9
+
10
+ # Check links
11
+ $rootDir /tool/shared/check-links.sh
You can’t perform that action at this time.
0 commit comments