forked from twitter-archive/commons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (23 loc) · 897 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
before_cache:
# The `ivydata-*.properties` & root level `*.{properties,xml}` files'
# effect on resolution time is in the noise, but they are
# re-timestamped in internal comments and fields on each run and this
# leads to travis-ci cache thrash. Kill these files before the cache
# check to avoid un-needed cache re-packing and re-upload (a ~100s
# operation).
- find $HOME/.ivy2/twitter-commons -type f -name "ivydata-*.properties" -print -delete
- rm -fv $HOME/.ivy2/twitter-commons/*.{css,properties,xml,xsl}
# The stats cache contains timestamped reports unused by CI but that
# thrash the cache. Skip caching these.
- rm -rf $HOME/.cache/pants/stats
cache:
directories:
- $HOME/.cache/pants
- $HOME/.ivy2/twitter-commons
- $TRAVIS_BUILD_DIR/.cache
language: java
jdk:
- oraclejdk8
script: |
java -version
./build-support/bin/ci.sh