-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis: drastically reduce the build matrix. (#396)
* drastically reduce the build matrix. We have useless matrix expansion (e.g. java-format un JDK8 and java-format in JDK9). Instead of expanding all possible values, explicitely define the inclusion we want. * Invoke scripts directly, rather than wrapping all in run-tests.sh with TEST_SUITE The only one is `TEST_SUITE=unit` which conditionally deploys * Add `mvn site` site in the script phase * Move the ant build after the regression tests because they don't take long.
- Loading branch information
Showing
3 changed files
with
47 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
CWD="$PWD" | ||
BASEDIR="$(cd "$(dirname "$0")" && pwd -P)"/.. | ||
# Provides the logi function | ||
source "$BASEDIR"/scripts/logger.sh | ||
# Maven executable | ||
MVN="$BASEDIR"/mvnw | ||
# fail on error | ||
set -e | ||
|
||
if [[ -z "$TEST_SUITE" || "$TEST_SUITE" == "ant" ]]; then | ||
"$BASEDIR"/scripts/ant-build.sh | ||
"$BASEDIR"/scripts/test-examples.sh | ||
fi | ||
|
||
logi "Success" | ||
cd "$CWD" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters