mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(travis): fix build error
This commit is contained in:
@@ -14,10 +14,9 @@ notifications:
|
||||
secure: mkHfRTsuxidtOOORbJJ0Jspb/DSa8jAiQwWWUljqLwefy1p4HGC9P/rLdXXg3vsjiulCzyjEkfvDWAHXvu34GhGWfQuD8U140Fon1Os3AO5Hbme+yRmjXmTcgH8XetSLQufyBBMqXHMd6o1tkxXql1p54G1IShhgAdPNe76d5ZE=
|
||||
|
||||
before_install:
|
||||
- npm install -g grunt-cli
|
||||
- npm install -g grunt-cli protractor
|
||||
|
||||
before_script:
|
||||
- export REMOTE=ajoslin
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
|
||||
|
||||
@@ -43,8 +43,7 @@ function run {
|
||||
exit 0
|
||||
fi
|
||||
|
||||
LATEST_TAG=$(git describe --tags --abbrev=0)
|
||||
LATEST_TAG_COMMIT=$(git rev-list $LATEST_TAG | head -n 1)
|
||||
LATEST_TAG_COMMIT=$(git rev-list $(git describe --tags --abbrev=0) | head -n 1)
|
||||
|
||||
if [[ "$TRAVIS_COMMIT" == "$LATEST_TAG_COMMIT" ]]; then
|
||||
IS_RELEASE=true
|
||||
|
||||
Reference in New Issue
Block a user