-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
29 lines (23 loc) · 936 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
language: java
sudo: required
jdk:
- openjdk8
services:
- docker
# safelist
branches:
only:
- master
- release
- 1.0.x
- 1.1.x
- 1.2.x
before_install:
- docker run -d -e SA_PASSWORD=5F4Dt9ky9dU$ -e SQLSERVER_DATABASE=sc -e SQLSERVER_USER=user -e SQLSERVER_PASSWORD=5F4Dt9ky9dU$ -p 1433:1433 exoplatform/sqlserver:2017-CU8
- docker run -d -e POSTGRES_PASSWORD=5F4Dt9ky9dU$ -p 5432:5432 postgres:12.1
- docker run -d -e MYSQL_ROOT_PASSWORD=5F4Dt9ky9dU$ -e MYSQL_DATABASE=sc -p 3306:3306 mysql:8.0.19
- docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" paulcwarren/elasticsearch:7.6.2
- docker run -d -p 8983:8983 paulcwarren/solr solr-precreate solr
script:
- mvn -B -pl '!spring-eg-content-solr' -pl '!spring-eg-content-solr-boot-starter' install --settings settings.xml
- mvn -B -pl spring-eg-content-solr,spring-eg-content-solr-boot-starter -am install --settings settings.xml