You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by jk...@apache.org on 2015/09/17 08:58:49 UTC

[3/4] tapestry-5 git commit: Revert "try to work around the 10 minute timeout if no output is produced by Gradle"

Revert "try to work around the 10 minute timeout if no output is produced by Gradle"

This reverts commit 6d9da908c0d191d835215263188fdcf24e5ac36e.


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/cd5b85f5
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/cd5b85f5
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/cd5b85f5

Branch: refs/heads/master
Commit: cd5b85f5bf208f7ae8eb1d66852078e9a92b623b
Parents: af5a28f
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Thu Sep 17 08:47:55 2015 +0200
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Thu Sep 17 08:47:55 2015 +0200

----------------------------------------------------------------------
 .travis.yml     |  2 +-
 travis-build.sh | 37 -------------------------------------
 2 files changed, 1 insertion(+), 38 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/cd5b85f5/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 2989094..ea2ea85 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,7 @@ before_install:
   - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
   - "export DISPLAY=:99.0"
 
-script: ./travis-build.sh
+script: ./gradlew -Dci=true continuousIntegration
 
 cache:
   directories:

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/cd5b85f5/travis-build.sh
----------------------------------------------------------------------
diff --git a/travis-build.sh b/travis-build.sh
deleted file mode 100755
index 4d4d84d..0000000
--- a/travis-build.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-# Abort on Error
-set -e
-
-export PING_SLEEP=30s
-export WORKDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-export BUILD_OUTPUT=$WORKDIR/build.out
-
-touch $BUILD_OUTPUT
-
-dump_output() {
-   echo Tailing the last 500 lines of output:
-   tail -500 $BUILD_OUTPUT  
-}
-error_handler() {
-  echo ERROR: An error was encountered with the build.
-  dump_output
-  exit 1
-}
-# If an error occurs, run our error handler to output a tail of the build
-trap 'error_handler' ERR
-
-# Set up a repeating loop to send some output to Travis.
-
-bash -c "while true; do echo \$(date) - building ...; sleep $PING_SLEEP; done" &
-PING_LOOP_PID=$!
-
-# My build is using maven, but you could build anything with this, E.g.
-# your_build_command_1 >> $BUILD_OUTPUT 2>&1
-# your_build_command_2 >> $BUILD_OUTPUT 2>&1
-./gradlew -Dci=true continuousIntegrationclean >> $BUILD_OUTPUT 2>&1
-
-# The build finished without returning an error so dump a tail of the output
-dump_output
-
-# nicely terminate the ping output loop
-kill $PING_LOOP_PID
\ No newline at end of file