Running tests for parsed version

This commit is contained in:
Marcin Grzejszczak
2016-07-22 21:09:25 +02:00
parent aab86d1e55
commit c94ab9e417
7 changed files with 52 additions and 53 deletions

View File

@@ -1,14 +1,7 @@
#!/usr/bin/env bash
set -o errexit
ROOT_FOLDER=`pwd`
echo "Current folder is $ROOT_FOLDER"
if [[ ! -e "${ROOT_FOLDER}/.git" ]]; then
cd ..
ROOT_FOLDER=`pwd`
fi
source common.sh || source scripts/common.sh || echo "No common.sh script found..."
set -e
./mvnw clean install && (cd *-gradle-plugin; ./gradlew clean build install) && ./scripts/runTests.sh && ./mvnw deploy && (cd *-gradle-plugin; ./gradlew uploadArchives -x test)