Added e2e for Accurest
This commit is contained in:
@@ -13,4 +13,4 @@ jdk:
|
||||
- oraclejdk8
|
||||
|
||||
install: ./gradlew assemble
|
||||
script: ./gradlew clean check funcTest --stacktrace --continue
|
||||
script: ./gradlew clean check funcTest --stacktrace --continue && /.gradlew install --parallel && ./scripts/runTests.sh
|
||||
|
||||
21
scripts/runTests.sh
Executable file
21
scripts/runTests.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
mkdir -p build
|
||||
GRADLE_OUTPUT=`./gradlew cV --quiet`
|
||||
ACCUREST_VERSION=`echo ${GRADLE_OUTPUT##*:}`
|
||||
export ACCUREST_VERSION=${ACCUREST_VERSION}
|
||||
|
||||
echo "Current accurest version is ${ACCUREST_VERSION}"
|
||||
|
||||
cd build
|
||||
echo "Cloning samples"
|
||||
git clone https://github.com/Codearte/accurest-samples
|
||||
cd accurest-samples
|
||||
|
||||
echo "Running Gradle tests"
|
||||
. ./runTests.sh
|
||||
|
||||
echo "Running Maven tests"
|
||||
. ./runMavenTests.sh
|
||||
Reference in New Issue
Block a user