forked from Unidata/thredds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 848 Bytes
/
.travis.yml
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
33
34
35
36
37
language: java
sudo: false
addons:
artifacts:
bucket: unidata-tds-tests
paths:
- $TRAVIS_UPLOAD_PATH
target_paths: Travis/$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER
env:
global:
- LD_LIBRARY_PATH=${TRAVIS_BUILD_DIR}/travis/lib/ubuntu-12.04.5-amd64
- BUILD_IDV=false
matrix:
include:
- jdk: oraclejdk7
- jdk: oraclejdk8
- jdk: openjdk7
# env: BUILD_IDV=true
script:
# If we need to do an IDV build, run the script
- if [[ $BUILD_IDV == true ]]; then
travis/build_idv.sh;
fi
- if [[ $BUILD_IDV == false ]]; then
echo If available, test report at;
echo http://unidata-tds-tests.s3.amazonaws.com/Travis/${TRAVIS_BRANCH}-${TRAVIS_BUILD_NUMBER}/${TRAVIS_JOB_NUMBER}/index.html;
./gradlew --info testAll;
fi
cache:
directories:
- $HOME/.gradle