Skip to content

Commit

Permalink
clean and test for snapshot builds as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay Kannan committed Oct 15, 2015
1 parent ac5db6a commit 49f9b3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion utilities/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk7" -a "${TRAVIS_BRANCH}" == "master" -
utilities/update_docs_version.sh # Update version in READMEs
mvn clean deploy --settings ~/.m2/settings.xml -P sign-deploy
else
mvn deploy -DskipTests=true -Dgpg.skip=true --settings target/travis/settings.xml
mvn clean deploy -Dgpg.skip=true --settings ~/.m2/settings.xml
fi
else
echo "Not deploying artifacts. This is only done with non-pull-request commits to master branch with Oracle Java 7 builds."
Expand Down
4 changes: 2 additions & 2 deletions utilities/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

if [ "${TRAVIS_BRANCH}" == "master" -a "${TRAVIS_PULL_REQUEST}" == "false" ]; then
# Get signing tools and API keyfile
openssl aes-256-cbc -K $encrypted_631490ecae8f_key -iv $encrypted_631490ecae8f_iv -in target/travis/signing-tools.tar.enc -out target/travis/signing-tools.tar -d
openssl aes-256-cbc -K $encrypted_631490ecae8f_key -iv $encrypted_631490ecae8f_iv -in target/travis/signing-tools.tar.enc -out $TRAVIS_BUILD_DIR/signing-tools.tar -d
mkdir $TRAVIS_BUILD_DIR/signing-tools
chmod 700 $TRAVIS_BUILD_DIR/signing-tools
tar xvf target/travis/signing-tools.tar -C $TRAVIS_BUILD_DIR/signing-tools
tar xvf $TRAVIS_BUILD_DIR/signing-tools.tar -C $TRAVIS_BUILD_DIR/signing-tools
# Export test env variables
export GCLOUD_TESTS_PROJECT_ID="gcloud-devel"
export GCLOUD_TESTS_KEY=$TRAVIS_BUILD_DIR/signing-tools/gcloud-devel-travis.json
Expand Down

0 comments on commit 49f9b3f

Please sign in to comment.