forked from opencadc/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
15 lines (13 loc) · 780 Bytes
/
.travis.yml
File metadata and controls
15 lines (13 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
language: java
jdk:
- oraclejdk8
before_script: openssl s_client -CApath /etc/ssl/certs/ -connect plugins.gradle.org:443 </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/gradle.crt; sudo keytool -importcert -noprompt -file /tmp/gradle.crt -trustcacerts -keystore $JAVA_HOME/jre/lib/security/cacerts -alias root -storepass changeit;
script:
- for mod in cadc-app-kit cadc-download-manager cadc-upload-manager cadc-download-manager-server ; do cd $mod; gradle --info javadoc build install || break -1; cd ..; done
- if [[ $TRAVIS_JDK_VERSION == 'oraclejdk8' ]]; then
for i in cadc-app-kit cadc-download-manager cadc-upload-manager cadc-download-manager-server ; do
cd $i;
gradle checkstyleMain || break -1;
cd ..;
done
fi