forked from molgenis/molgenis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 1.14 KB
/
.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
language: java
jdk: openjdk11
# Ubuntu 18.04 LTS
dist: bionic
# Caches downloaded libraries between builds
cache:
yarn: true
directories:
- '$HOME/.m2/repository'
env:
# Variables shared between builds
global:
- PGPORT=5433
# This configures the parallel jobs to run
matrix:
- COV_FLAG="api" SCRIPT=".ci/jobs/api-tests.sh"
- COV_FLAG="integration" SCRIPT=".ci/jobs/integration-tests.sh"
addons:
sauce_connect: true
sudo: required
before_install:
- .ci/services/install-minio-6.sh
- .ci/services/install-postgres-11.sh
install:
- mvn install -DskipTests -Dmaven.javadoc.skip=true -B -V -T4
before_script:
# Set the max_map_count for elasticsearch, as instructed by maven Elasticsearch plugin docs
- sudo sysctl -w vm.max_map_count=262144
script:
- $SCRIPT
notifications:
slack:
rooms:
# Sends build status updates for molgenis/molgenis repo to #pr-platform channel on molgenis-dev slack
secure: blnxfapt6aAdRDjNvy2Ykp3yPxhRqo0srfz9MI2obKGXFOO2ee+AF0TNosmz9aZG0J3u4e3YI+z9BvjcNMvTzzPCjiLiC3MSbtB9w0SHwhg6q7s1ehVoYKqB22++8S6GEYy5FgBpBLQ+jXEnwiglHfKLowJjvQS8s2NBMhAwEqY=