mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
24 lines
565 B
YAML
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 |