Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (43 sloc) 1.1 KB
#
# 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