2016-12-09 17:25:10 +08:00
|
|
|
language: java
|
2018-06-07 14:59:45 +08:00
|
|
|
jdk: openjdk8
|
2016-12-09 17:25:10 +08:00
|
|
|
|
|
|
|
before_install:
|
2016-12-09 18:01:37 +08:00
|
|
|
- git clone https://github.com/cuba-platform/cuba-gradle-plugin.git $TRAVIS_BUILD_DIR/../cuba-gradle-plugin
|
2016-12-09 20:19:28 +08:00
|
|
|
- (cd $TRAVIS_BUILD_DIR/../cuba-gradle-plugin && chmod +x ./gradlew && ./gradlew --no-daemon install)
|
2016-12-09 17:25:10 +08:00
|
|
|
- chmod +x ./gradlew
|
2016-12-09 20:19:28 +08:00
|
|
|
- ./gradlew --no-daemon startDb createTestDb
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ./gradlew --no-daemon assemble
|
|
|
|
|
|
|
|
script:
|
2018-07-26 21:36:28 +08:00
|
|
|
- ./gradlew --no-daemon test javadoc -Dlogback.configurationFile=test-silent-logback.xml
|
2016-12-09 17:25:10 +08:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
2016-12-09 18:01:37 +08:00
|
|
|
- $HOME/.gradle/wrapper/
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2018-06-07 14:59:45 +08:00
|
|
|
- openjdk-8-jdk
|