-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild-and-test-all.sh
executable file
·32 lines (27 loc) · 1.51 KB
/
build-and-test-all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
echo "------------------------------------------"
echo "BUILDING (CORE, RUNTIME, GRADLE-PLUGIN)..."
echo "------------------------------------------"
sh ./gradlew clean publishtoMavenLocal --no-daemon || { echo 'building vmf failed' ; exit 1; }
sh ./gradlew test --no-daemon || { echo 'testing vmf failed' ; exit 1; }
#echo "------------------------------------------"
#echo "BUILDING PLUGIN (MAVEN)..."
#echo "------------------------------------------"
cd maven-plugin
#sh ./maven.sh clean install || { echo 'building maven plugin failed' ; exit 1; }
echo "------------------------------------------"
echo "TESTING (1/1, GRADLE)..."
echo "------------------------------------------"
cd ../test-suite
sh ./gradlew clean test --stacktrace --no-daemon || { echo 'building and/or running test-suite failed' ; exit 1; }
#sh ./gradlew clean test --stacktrace --no-daemon --warning-mode all || { echo 'building and/or running test-suite failed' ; exit 1; }
#echo "------------------------------------------"
#echo "TESTING (2/2, MAVEN)..."
#echo "------------------------------------------"
#sh ./maven.sh clean test || { echo 'building and/or running test-suite failed' ; exit 1; }
echo ------------------------------------------
echo BUILDING AND TESTING JACKSON MODULE
echo ------------------------------------------
cd ../jackson
sh ./gradlew clean publishtoMavenLocal --no-daemon || { echo 'building vmf failed' ; exit 1; }
sh ./gradlew clean test --no-daemon || { echo 'building and/or running jackson module failed' ; exit 1; }