forked from google/protobuf-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 862 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: android
jdk:
- oraclejdk8
android:
components:
- platform-tools
- tools
- build-tools-23.0.3
- android-23
- extra-android-support
- extra-android-m2repository
licenses:
- '.+'
env:
global:
- GRADLE_OPTS="-Xms128m"
script:
- ./gradlew clean assemble test --tests com.google.protobuf.gradle.plugins.ProtobufJavaPluginTest --stacktrace
- ./gradlew test --tests com.google.protobuf.gradle.plugins.ProtobufAndroidPluginTest --stacktrace
- ./gradlew codenarcMain || (cat ./build/reports/codenarc/main.txt && false)
- ./gradlew codenarcTest || (cat ./build/reports/codenarc/test.txt && false)
notifications:
email: false
sudo: false
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/