cuba/.travis.yml

24 lines
565 B
YAML
Raw Normal View History

2016-12-09 17:25:10 +08:00
language: java
jdk: oraclejdk8
before_install:
- git clone https://github.com/cuba-platform/cuba-gradle-plugin.git $TRAVIS_BUILD_DIR/../cuba-gradle-plugin
- (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
- ./gradlew --no-daemon startDb createTestDb
install:
- ./gradlew --no-daemon assemble
script:
- ./gradlew --no-daemon test javadoc
2016-12-09 17:25:10 +08:00
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
addons:
apt:
packages:
- oracle-java8-installer