forked from eHarmony/aloha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (29 loc) · 854 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: scala
scala:
- 2.10.5
- 2.11.8
jdk:
- oraclejdk7
# Use the container-based infrastructure. Aloha only works on the container-based infrastructure
# because currently, /proc/version in the non-container-based infrastructure doesn't match the VM
# type. The VM says Ubuntu 12 and /proc/version says redhat.
sudo: false
# Cache the installation of protoc
cache:
directories:
- $HOME/protobuf
- $HOME/.m2/repository
- $HOME/.sbt
- $HOME/.ivy2
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
# VW in aloha-vw-jni needs libboost program options
addons:
apt:
packages:
- libboost-program-options-dev
before_install:
- source travis-install-protobuf.sh
- bash travis-install-aloha-proto.sh