Skip to content

Instantly share code, notes, and snippets.

@gunnarx
Created February 9, 2018 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gunnarx/38c208bfa22a6997dbd6bde9007c090b to your computer and use it in GitHub Desktop.
Save gunnarx/38c208bfa22a6997dbd6bde9007c090b to your computer and use it in GitHub Desktop.
Example Travis Eclipse maven
From:
https://github.com/moto-timo/eclipse-poky-1/blob/timo/maven/.travis.yml
# Although this looks like it does nothing,
# a default behavior in Travis CI is to
# call "mvn install...", so this is actually
# enough to build the project
#
# https://docs.travis-ci.com/user/languages/java/
#
language: java
jdk:
- oraclejdk8
env: DISPLAY=:99.0
addons:
apt:
packages:
- fluxbox
- make
- xsltproc
- docbook-utils
- fop
- dblatex
- xmlto
before_script:
- export DISPLAY=:99.0
- Xvfb :99.0 -extension RANDR > /dev/null &
- fluxbox &
- sleep 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment