Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
sudo: false | ||
language: java | ||
matrix: | ||
include: | ||
- jdk: oraclejdk8 | ||
|
||
env: | ||
- JACOCO_COVERAGE=true | ||
|
||
script: | ||
- "./scripts/run_travis.sh" | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
||
before_install: | ||
- openssl aes-256-cbc -K $encrypted_0a71570cbb11_key -iv $encrypted_0a71570cbb11_iv | ||
-in profile.json.enc -out profile.json -d |
Binary file not shown.
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,13 @@ | ||
travis_fold_start build "Build Ingest SDK Java driver" | ||
mvn install -DskipTests=true --batch-mode --show-version | ||
travis_fold_end | ||
|
||
travis_fold_start build "Test Ingest SDK Java driver" | ||
PARAMS=() | ||
PARAMS+=("-DtravisIT") | ||
echo "JDK Version: $TRAVIS_JDK_VERSION" | ||
[[ -n "$JACOCO_COVERAGE" ]] && PARAMS+=("-Djacoco.skip.instrument=false") | ||
# verify phase is after test/integration-test phase, which means both unit test | ||
# and integration test will be run | ||
mvn "${PARAMS[@]}" verify --batch-mode | ||
travis_fold_end |