Skip to content

Instantly share code, notes, and snippets.

@gunnarx
Created February 9, 2018 17:43
Show Gist options
  • Select an option

  • Save gunnarx/38c208bfa22a6997dbd6bde9007c090b to your computer and use it in GitHub Desktop.

Select an option

Save gunnarx/38c208bfa22a6997dbd6bde9007c090b to your computer and use it in GitHub Desktop.

Revisions

  1. gunnarx created this gist Feb 9, 2018.
    33 changes: 33 additions & 0 deletions .travis.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    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