forked from wix-incubator/wix-embedded-mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (33 loc) · 919 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
---
language: java
script: $CMD
env:
global:
- CMD='mvn -q -B verify'
before_install:
# os x - workaround for JAVA_HOME not set and mvn missing
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi
# linux - installing libaio1
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq && sudo apt-get install -y libaio1; fi
# to work-around jvm buffer overflow
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo hostname "$(hostname | cut -c1-63)"; fi
matrix:
include:
- os: linux
dist: trusty
sudo: required
jdk: openjdk7
- os: linux
dist: trusty
sudo: required
jdk: oraclejdk7
- os: linux
dist: trusty
sudo: required
jdk: oraclejdk8
- os: osx
language: java
notifications:
email: