forked from molgenis/molgenis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (33 loc) · 1.15 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
language: java
os: linux
jdk: openjdk11
# Ubuntu 18.04 LTS
dist: bionic
# Caches downloaded libraries between builds
cache:
directories:
- '$HOME/.m2/repository'
env:
# This configures the parallel jobs to run
jobs:
- COV_FLAG="api" SCRIPT=".ci/jobs/api-tests.sh"
- COV_FLAG="integration" SCRIPT=".ci/jobs/integration-tests.sh"
services:
- postgresql
addons:
postgresql: "11"
before_install:
- .ci/services/install-minio-6.sh
- sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'molgenis'"
install:
- MAVEN_SKIP_RC=true MAVEN_OPTS="-XX:TieredStopAtLevel=1 -noverify" mvn install -DskipTests -B -V -T1C
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=