This is an automated email from the ASF dual-hosted git repository.

daisyguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new 8dbc273  Revert the Travis build due to the recent failures
8dbc273 is described below

commit 8dbc273cc72ef97b089da003e7c6a810648fcb2f
Author: Vincent Hou <s...@us.ibm.com>
AuthorDate: Mon Apr 16 17:06:12 2018 -0400

    Revert the Travis build due to the recent failures
    
    We need to add the latest build back in order to keep the build
    consistent.
---
 .travis.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index ecc0800..f1782d4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -71,12 +71,25 @@ script:
 
 after_success:
   - export DEPLOY_BUILD_READY=true
+  - if [ "$TRAVIS_EVENT_TYPE" == "cron" ] ; then
+      export DEPLOY_BUILD_READY=false;
+    fi
 
 before_deploy:
   - export RELEASE_PKG_FILE="$(cd "$TRAVIS_BUILD_DIR/release" && ls 
${zip_file_name}-*.tgz ${zip_file_name}-*.zip)"
   - echo "Deploying $RELEASE_PKG_FILE to GitHub releases."
   - export GIT_TAG="latest"
   - export TAG=false;
+  # This tag is automatically generated for the latest merged commit in master 
branch.
+  - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_EVENT_TYPE" == "push" ] 
&& [ "$TRAVIS_OS_NAME" == "linux" ] ; then
+      git config --global user.email "bui...@travis-ci.com";
+      git config --global user.name "Travis CI";
+      export GIT_TAG="latest";
+      git tag -d $GIT_TAG;
+      git push -q https://$api_...@github.com/apache/incubator-openwhisk-cli 
:refs/tags/$GIT_TAG;
+      GIT_COMMITTER_DATE="$(git show --format=%aD | head -1)" git tag $GIT_TAG 
-a -m "Generated tag from Travis CI build $TRAVIS_BUILD_NUMBER";
+      git push -f -q 
https://$api_...@github.com/apache/incubator-openwhisk-cli $GIT_TAG;
+    fi
   - if [ ! -z "$TRAVIS_TAG" ] ; then
       export GIT_TAG=$TRAVIS_TAG;
       export TAG=true;

-- 
To stop receiving notification emails like this one, please contact
daisy...@apache.org.

Reply via email to