Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit b6ad217

Browse files
committed
chore: added clearly visible banners to travis build
1 parent 5271307 commit b6ad217

File tree

6 files changed

+57
-0
lines changed

6 files changed

+57
-0
lines changed

scripts/analyze.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ set -e
44

55
. $(dirname $0)/env.sh
66

7+
echo '==========='
8+
echo '== BUILD =='
9+
echo '==========='
10+
711
OUT=tmp/all.dart
812
mkdir -p tmp
913

scripts/env.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,16 @@ export DART_DOCGEN=${DART_DOCGEN:-"$DARTSDK/bin/docgen"}
3434
export DARTIUM_BIN=${DARTIUM_BIN:-"$DARTIUM"}
3535
export CHROME_BIN=${CHROME_BIN:-"google-chrome"}
3636
export PATH=$PATH:$DARTSDK/bin
37+
38+
echo '*********'
39+
echo '** ENV **'
40+
echo '*********'
41+
echo DART_SDK=$DART_SDK
42+
echo DART=$DART
43+
echo PUB=$PUB
44+
echo DARTANALYZER=$DARTANALYZER
45+
echo DARTDOC=$DARTDOC
46+
echo DART_DOCGEN=$DART_DOCGEN
47+
echo DARTIUM_BIN=$DARTIUM_BIN
48+
echo CHROME_BIN=$CHROME_BIN
49+
echo PATH=$PATH

scripts/generate-documentation.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
. $(dirname $0)/env.sh
33

44
# Temporary change to delete the Build Status image markdown from the README (image md not supported by dartdoc-viewer)
5+
echo '******************************'
6+
echo '** GENERATING DOCUMENTATION **'
7+
echo '******************************'
58
cp README.md README-orig.md
69
cat README-orig.md | sed "1s/^AngularDart.*/AngularDart/" > README.md
710

@@ -43,6 +46,9 @@ if [[ $1 == update ]]; then
4346
exit;
4447
fi
4548

49+
echo '--------------------------'
50+
echo '-- DOCS: dartdoc-viewer --'
51+
echo '--------------------------'
4652
if [ ! -d "$DOCVIEWER_DIR" ]; then
4753
git clone https://github.com/angular/dartdoc-viewer.git -b angular-skin $DOCVIEWER_DIR
4854
else
@@ -58,6 +64,9 @@ echo $doc_version at $head_sha \(with Dart SDK $dartsdk_version\) > docs/VERSION
5864

5965
rm -rf $DOCVIEWER_DIR/client/web/docs/
6066
mv docs/ $DOCVIEWER_DIR/client/web/docs/
67+
echo '---------------------'
68+
echo '-- DOCS: pub build --'
69+
echo '---------------------'
6170
(cd $DOCVIEWER_DIR/client; pub build)
6271

6372

scripts/generate-expressions.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
. $(dirname $0)/env.sh
44

5+
echo '=========================='
6+
echo '== GENERATE EXPRESSIONS =='
7+
echo '=========================='
8+
59
mkdir -p gen
610

711
cat test/core/parser/generated_getter_setter.dart | sed -e 's/_template;/_generated;/' | grep -v REMOVE > gen/generated_getter_setter.dart

scripts/travis/build.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
set -e
44
. ./scripts/env.sh
55

6+
echo '==========='
7+
echo '== BUILD =='
8+
echo '==========='
9+
610
SIZE_TOO_BIG_COUNT=0
711

812
function checkSize() {
@@ -22,13 +26,20 @@ function checkSize() {
2226

2327
# skip auxiliary tests if we are only running dart2js
2428
if [[ $TESTS == "dart2js" ]]; then
29+
echo '------------------------'
30+
echo '-- BUILDING: examples --'
31+
echo '------------------------'
32+
2533
if [[ $CHANNEL == "DEV" ]]; then
2634
dart "bin/pub_build.dart" -p example -e "example/expected_warnings.json"
2735
else
2836
( cd example; pub build )
2937
fi
3038

3139
(
40+
echo '-----------------------------------'
41+
echo '-- BUILDING: verify dart2js size --'
42+
echo '-----------------------------------'
3243
cd example
3344
checkSize build/web/animation.dart.js 208021
3445
checkSize build/web/bouncing_balls.dart.js 202325
@@ -42,14 +53,23 @@ if [[ $TESTS == "dart2js" ]]; then
4253
)
4354
else
4455
# run io tests
56+
echo '--------------'
57+
echo '-- TEST: io --'
58+
echo '--------------'
4559
dart -c test/io/all.dart
4660

4761
./scripts/generate-expressions.sh
4862
./scripts/analyze.sh
4963

64+
echo '---------------------'
65+
echo '-- TEST: changelog --'
66+
echo '---------------------'
5067
./node_modules/jasmine-node/bin/jasmine-node ./scripts/changelog/;
5168

5269
(
70+
echo '----------------'
71+
echo '-- TEST: perf --'
72+
echo '----------------'
5373
cd perf
5474
pub install
5575
for file in *_perf.dart; do
@@ -66,6 +86,10 @@ elif [[ $TESTS == "vm" ]]; then
6686
BROWSERS=Dartium;
6787
fi
6888

89+
echo '-----------------------'
90+
echo '-- TEST: AngularDart --'
91+
echo '-----------------------'
92+
echo BROWSER=$BROWSERS
6993
./node_modules/jasmine-node/bin/jasmine-node playback_middleware/spec/ &&
7094
node "node_modules/karma/bin/karma" start karma.conf \
7195
--reporters=junit,dots --port=8765 --runner-port=8766 \

scripts/travis/publish-docs.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
CHANNEL=`echo $JOB | cut -f 2 -d -`
44
SHA=`git rev-parse HEAD`
55

6+
echo '==================='
7+
echo '== DOCS: publish =='
8+
echo '==================='
69
echo Current channel is: $CHANNEL
710
echo Current branch is: $TRAVIS_BRANCH
811
echo Test result is: $TRAVIS_TEST_RESULT

0 commit comments

Comments
 (0)