-
Notifications
You must be signed in to change notification settings - Fork 221
/
.travis.yml
25 lines (20 loc) · 707 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 -Dlogback.configurationFile=com/haulmont/cuba/test-silent-logback.xml
- ./gradlew --no-daemon dependencyUpdates -PdependencyUpdates -Drevision=release
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
addons:
apt:
packages:
- openjdk-8-jdk