Skip to content

Commit c767d5e

Browse files
committed
test
1 parent 94e7738 commit c767d5e

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ addons:
3232
before_script:
3333
- du -sh ./node_modules ./bower_components/ || true
3434
- "./scripts/travis/before_build.sh"
35-
script: skip
36-
# - "./scripts/travis/build.sh"
35+
script:
36+
- "./scripts/travis/build.sh"
3737
after_script:
3838
- "./scripts/travis/tear_down_browser_provider.sh"
3939
- "./scripts/travis/print_logs.sh"

scripts/firebase/.eslintrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

scripts/travis/before_build.sh

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

33
set -e
44

5+
DISTTAG=$( cat package.json | jq '.distTag' | tr -d \" )
6+
7+
echo $TRAVIS_TAG
8+
echo $DISTTAG
9+
10+
if [[ $TRAVIS_TAG = '' && $DISTTAG = "next" ]]; then
11+
echo "read from json";
12+
fi
13+
514
yarn global add grunt-cli@1.2.0
615

716
mkdir -p $LOGS_DIR

scripts/travis/build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ set -e
55
export BROWSER_STACK_ACCESS_KEY=`echo $BROWSER_STACK_ACCESS_KEY | rev`
66
export SAUCE_ACCESS_KEY=`echo $SAUCE_ACCESS_KEY | rev`
77

8+
DISTTAG=$( cat package.json | jq '.distTag' )
9+
10+
echo $TRAVIS_TAG
11+
echo $DISTTAG
12+
13+
if [[ $DISTTAG = "next" ]]; then
14+
echo "read from json";
15+
fi
16+
817
if [ "$JOB" == "ci-checks" ]; then
918
grunt ci-checks
1019
elif [ "$JOB" == "unit" ]; then

0 commit comments

Comments
 (0)