forked from square/wire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (27 loc) · 1021 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
language: java
jdk:
- openjdk8
before_script:
- ./gradlew clean generateTests
- if [ ! -z "$(git status --porcelain)" ]; then git diff; echo -e "\nTest files changed. Did you run ./gradlew generateTests?"; exit 1; fi
script:
- ./gradlew clean build
after_success:
- .buildscript/deploy_snapshot.sh
env:
global:
- secure: "a8dMh0gnfufZ4CBmqdrDqu33Gp6NoF6AgGP5joKAecHpG7wA1w9Jh/8JfHHjM6y5YZyBusSl2NPp8wkIhZsqHydgWPhwHJICuktfWB/WH/G7QW9HNM74jNODDSN5Hv5BGAc3niY+NCSKsadtD0ncXm0OxnbBmaxAPzcOH30I6I4="
- secure: "CHuskaVfG2/oZwpns+7+Ei51RS6/nZpywmwrgo7V6Fh0uv1uobQ4oRcJ7hlKMbeH/ZDC8rmNAgpLn1untzw9M5HgKEQo/KPrZMnzy2237ru+OGham73FKiUgb3v28357igKDudNv0bnZKtJRfiGPgwZp0X2Gizk93Mx06ewZDPs="
branches:
except:
- gh-pages
notifications:
email: false
sudo: false
# TODO(egorand): Re-enable caching once Wire doesn't depend on Okio snapshot anymore
# cache:
# directories:
# - $HOME/.gradle/caches/
# - $HOME/.gradle/wrapper/
# - $HOME/.gradle/native/
# - $HOME/.gradle/daemon/native/