forked from spring-projects/spring-data-cassandra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (30 loc) · 873 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
language: java
jdk:
- oraclejdk8
env:
global:
- CASSANDRA_VERSION=3.11.2
matrix:
- PROFILE=ci
- PROFILE=spring5-next
- CASSANDRA_VERSION=2.2.10
- CASSANDRA_VERSION=3.0.10
addons:
apt:
packages:
- oracle-java8-installer
cache:
directories:
- $HOME/.m2
- 'download'
sudo: required
before_install:
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
install: if [ ! -z ${CASSANDRA_VERSION+x} ]; then ./setup-cassandra.sh; fi;
script:
- |
if [ ! -z ${CASSANDRA_DRIVER_VERSION+x} ]; then
mvn clean install -P${PROFILE},external-cassandra -Dcassandra-driver.version=${CASSANDRA_DRIVER_VERSION} -Dmaven.javadoc.skip=true
else
mvn clean install -P${PROFILE},external-cassandra -Dmaven.javadoc.skip=true
fi