-
Notifications
You must be signed in to change notification settings - Fork 82
/
.travis.yml
37 lines (29 loc) · 985 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
# Use container-based infrastructure
sudo: false
# configuration
language: scala
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
# This is an sbt plugin, so this section is for demo purpose
scala:
- 2.11.7
jdk:
- oraclejdk8
env:
matrix:
- TEST_COMMAND="clean coverage test"
script:
- cd cloudberry
- travis_retry sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M clean coverage test coverageReport
- cd ../examples/twittermap
- travis_retry sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M clean coverage test coverageReport
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
after_success:
- bash <(curl -s https://codecov.io/bash)
# fixed the issue of installing oraclejdk8 failed during building
dist: trusty