java-tutorials/gradle/.travis.yml
abirkhan04 9caf73c18e Gradle tutorial project : (#2922)
* Gradle tutorial project :
1. A multi-project build
2. Inclusive all required tasks and dependency example.

* Gradle tutorial is shifted to gradle folder
2017-11-22 20:19:42 +01:00

27 lines
605 B
YAML

# More details on how to configure the Travis build
# https://docs.travis-ci.com/user/customizing-the-build/
# Speed up build with travis caches
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
language: java
jdk:
- oraclejdk8
#Skipping install step to avoid having Travis run arbitrary './gradlew assemble' task
# https://docs.travis-ci.com/user/customizing-the-build/#Skipping-the-Installation-Step
install:
- true
#Don't build tags
branches:
except:
- /^v\d/
#Build and perform release (if needed)
script:
- ./gradlew build -s && ./gradlew ciPerformRelease