forked from eclipse/xsemantics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (43 loc) · 1.1 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
46
47
48
49
50
51
52
53
#
# Copyright (c) 2013-2017 Lorenzo Bettini.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Lorenzo Bettini - Initial contribution and API
#
sudo: false
language: java
matrix:
fast_finish: true
include:
- os: linux
jdk: oraclejdk8
env: DISPLAY=:99.0
# - os: osx
# osx_image: xcode8
cache:
directories:
- $HOME/.m2
install: true
addons:
apt:
packages:
- metacity
#before_install:
# - sudo apt-get update
# - sudo apt-get install gnome-themes-standard
# - sudo apt-get install metacity
# - sudo apt-get install libwebkit-dev
before_install:
- echo "MAVEN_OPTS='-Xmx2048m -XX:MaxPermSize=512m'" > ~/.mavenrc
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi
- echo $JAVA_HOME
before_script:
- bash -e ./before_script.sh
# Build on MacOSX is triggered only for pull requests
script:
- export
- bash -e ./travis_build.sh