You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/02/28 14:25:27 UTC
[incubator-openwhisk-package-pushnotifications] branch master
updated: update travis badge to point to apache repo (#64)
This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-pushnotifications.git
The following commit(s) were added to refs/heads/master by this push:
new b5b684f update travis badge to point to apache repo (#64)
b5b684f is described below
commit b5b684f1b5eef9d12609819f134db743d1934e78
Author: Carlos Santana <cs...@gmail.com>
AuthorDate: Tue Feb 28 09:25:25 2017 -0500
update travis badge to point to apache repo (#64)
* update travis badge to point to apache repo
* added PR to only do scancode
---
.travis.yml | 4 ++--
README.md | 2 +-
tools/travis/build.sh | 4 ++++
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 15dbdff..f80e115 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,10 +18,10 @@ notifications:
install: true
before_install:
- - openssl aes-256-cbc -K $encrypted_ff5bbb6225c5_key -iv $encrypted_ff5bbb6225c5_iv -in tests/credentials.json.enc -out tests/credentials.json -d
+ - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then openssl aes-256-cbc -K $encrypted_ff5bbb6225c5_key -iv $encrypted_ff5bbb6225c5_iv -in tests/credentials.json.enc -out tests/credentials.json -d; fi'
- git clone https://github.com/openwhisk/openwhisk.git
- cd openwhisk
- - ./tools/travis/setup.sh
+ - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./tools/travis/setup.sh; fi'
script:
- ../tools/travis/build.sh
diff --git a/README.md b/README.md
index 654df25..5c2998a 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# Using the Push package
-[![Build Status](https://travis-ci.org/openwhisk/openwhisk-package-pushnotifications?branch=master)](https://travis-ci.org/openwhisk/openwhisk-package-pushnotifications)
+[![Build Status](https://travis-ci.org/apache/incubator-openwhisk-package-pushnotifications.svg?branch=master)](https://travis-ci.org/apache/incubator-openwhisk-package-pushnotifications)
The `/whisk.system/pushnotifications` package enables you to work with a push service.
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
index 76fee63..0f8a613 100755
--- a/tools/travis/build.sh
+++ b/tools/travis/build.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
# Build script for Travis-CI.
SCRIPTDIR=$(cd $(dirname "$0") && pwd)
@@ -8,6 +9,9 @@ cd $WHISKDIR
tools/build/scanCode.py $ROOTDIR
+# No point to continue with PRs, since encryption is on
+if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit 0; fi
+
cd $WHISKDIR/ansible
ANSIBLE_CMD="ansible-playbook -i environments/local"
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].