1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00
Smack/.travis.yml
Florian Schmaus 0d6f00873f Use Travis-CI's container based infra
by adding "sudo: false" and cache maven artifacts.
2015-08-12 10:50:30 +02:00

19 lines
378 B
YAML

language: android
android:
components:
- android-8
jdk:
- oraclejdk8
- oraclejdk7
sudo: false
cache:
directories:
- $HOME/.m2
install: gradle assemble
script: gradle check
after_success:
- JAVAC_VERSION=$((javac -version) 2>&1)
# Only run jacocoRootReport in the Java7 build
- if [[ "$JAVAC_VERSION" = javac\ 1.7.* ]]; then gradle jacocoRootReport coveralls; fi