Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (17 sloc) 820 Bytes
#!/bin/bash
set -ev
./gradlew --no-daemon build -x test groovydoc asciidoc
./gradlew -i -s --no-daemon test
if [ "${TRAVIS_PULL_REQUEST}" == "false" -a "${TRAVIS_BRANCH}" == "master" ]; then
if [ "`git ls-remote origin gh-pages`" == "" ]; then
echo Start gitPublishPush with ghPageType=init
./gradlew --no-daemon -i -s gitPublishPush --rerun-tasks -PghPageType=init
echo Finished gitPublishPush with ghPageType=init
fi
echo Start gitPublishPush with ghPageType=latest
./gradlew --no-daemon -i -s gitPublishPush --rerun-tasks -PghPageType=latest
echo Finished gitPublishPush with ghPageType=version
echo Start gitPublishPush with ghPageType=version
./gradlew --no-daemon -i -s gitPublishPush --rerun-tasks -PghPageType=version
echo Finished gitPublishPush with ghPageType=version
fi
You can’t perform that action at this time.