cuba/.travis.yml
2018-06-07 10:59:45 +04:00

24 lines
554 B
YAML

language: java
jdk: openjdk8
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:
- openjdk-8-jdk