1
0
mirror of https://gitee.com/jmix/cuba.git synced 2024-12-12 12:15:53 +08:00
cuba/.travis.yml

24 lines
565 B
YAML

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)
- chmod +x ./gradlew
- ./gradlew --no-daemon startDb createTestDb
install:
- ./gradlew --no-daemon assemble
script:
- ./gradlew --no-daemon test javadoc
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
addons:
apt:
packages:
- oracle-java8-installer