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

fanningpj pushed a commit to branch testCommercialAddonsWhenSecretsAvailable
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-samples.git

commit b8e54e7c559814868b06863a53f54a732a3a3fc7
Author: Arnout Engelen <[email protected]>
AuthorDate: Thu Jan 2 12:24:57 2020 +0100

    Test persistence-dc only when secrets are available (#179)
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index cb1db0c..ffeca98 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,7 +43,7 @@ env:
     - CMD="cd akka-sample-persistence-java && sbt test"
     - CMD="cd akka-sample-persistence-java && mvn test"
     - CMD="cd akka-sample-persistence-scala && sbt test"
-    - CMD="mkdir ~/.lightbend && echo $LB_CRED | base64 -d > 
~/.lightbend/commercial.credentials && sudo apt-get update && sudo apt-get 
install protobuf-compiler && cd akka-sample-persistence-dc-scala && sbt test"
+    - CMD="if \[ \"$TRAVIS_SECURE_ENV_VARS\" == \"true\" ]; then mkdir 
~/.lightbend && echo $LB_CRED | base64 -d > ~/.lightbend/commercial.credentials 
&& sudo apt-get update && sudo apt-get install protobuf-compiler && cd 
akka-sample-persistence-dc-scala && sbt test; fi"
     - CMD="cd akka-sample-cqrs-scala && sbt test"
     - CMD="cd akka-sample-cqrs-java && sbt test"
     - CMD="cd akka-sample-cqrs-java && mvn test"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to