diff --git a/src/test/projects/sample/test-apps b/src/test/projects/sample/test-apps index 2e10f04..abeac75 100755 --- a/src/test/projects/sample/test-apps +++ b/src/test/projects/sample/test-apps @@ -4,7 +4,7 @@ clear rm -rf ~/.m2/repository/org/grails/plugins/redis cd ../../../../ pwd -grails install +./gradlew install cd src/test/projects/sample pwd -grails test-app +./gradlew test-app diff --git a/travis-build.sh b/travis-build.sh index 57bb5b0..127527d 100755 --- a/travis-build.sh +++ b/travis-build.sh @@ -2,25 +2,5 @@ set -e rm -rf *.zip ./gradlew clean test assemble - -filename=$(find build/libs -name "*.jar" | head -1) -filename=$(basename "$filename") - -EXIT_STATUS=0 -exit $EXIT_STATUS - -#todo: need to add credentials to push, just exit for now -echo "Publishing archives for branch $TRAVIS_BRANCH" -if [[ -n $TRAVIS_TAG ]] || [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then - - echo "Publishing archives" - - if [[ -n $TRAVIS_TAG ]]; then - ./gradlew bintrayUpload || EXIT_STATUS=$? - else - ./gradlew publish || EXIT_STATUS=$? - fi - -fi - -exit $EXIT_STATUS +cd src/main/test/projects/sample +./test-apps