forked from flowable/flowable-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (39 loc) · 1.19 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
36
37
38
39
40
41
42
43
44
45
language: java
dist: trusty
sudo: required
matrix:
include:
- jdk: oraclejdk8
- name: "Flowable 5 tests"
jdk: oraclejdk8
install: true
script:
cd scripts && ./run-flowable5-tests.sh
- jdk: oraclejdk9
- jdk: openjdk10
# For some reason pulling from sonatype_snapshots does not work for openjdk10 and we have to manually symlink
# See https://github.com/travis-ci/travis-ci/issues/9368#issuecomment-405070163
before_install:
- rm "${JAVA_HOME}/lib/security/cacerts"
- ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts"
- jdk: openjdk11
- jdk: openjdk-ea
branches:
only:
- master
if: TRAVIS_PULL_REQUEST != false
allow_failures:
- jdk: openjdk11
- jdk: openjdk-ea
- name: "Flowable 5 tests"
cache:
directories:
- $HOME/.m2
notifications:
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
before_script:
- echo MAVEN_OPTS=\"-Xmx2048m -Xms1024m -Djava.awt.headless=true\" > ~/.mavenrc
script:
mvn test -Pdistro,errorLogging -DskipTests=false -B