This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-saga.git
The following commit(s) were added to refs/heads/master by this push:
new 5fb192b Pulish the test script
5fb192b is described below
commit 5fb192b17d5556952e66ae310f5bd08e5655aeaf
Author: Willem Jiang <[email protected]>
AuthorDate: Thu Oct 18 11:06:28 2018 +0800
Pulish the test script
---
scripts/test.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/scripts/test.sh b/scripts/test.sh
index fda9dbd..1949891 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -16,7 +16,12 @@
## limitations under the License.
## ---------------------------------------------------------------------------
#bin/sh
-if ["$TRAVIS_EVENT_TYPE" != "cron" ]; then
+echo "$TRAVIS_EVENT_TYPE"
+if [[ "$TRAVIS_EVENT_TYPE" == "cron" ]]
+then
+ echo "Don't do anything here for the cron job!"
+else
+ echo "Running the unit tests and integration tests here!"
mvn clean install -Pjacoco -Pdocker -P${SPRING_BOOT_PROFILE} coveralls:report
mvn clean verify -f saga-demo -Pdemo -Pdocker -P${SPRING_BOOT_PROFILE}
-Ddocker.useColor=false -Ddocker.showLogs
mvn clean verify -f acceptance-tests -Pdemo -Pdocker
-P${SPRING_BOOT_PROFILE} -Ddocker.useColor=false -Ddocker.showLogs