Skip to content

Commit

Permalink
Allow Travis jobs to fail without framebuffer
Browse files Browse the repository at this point in the history
Recently, @hastebrot added a framebuffer-less job to the Travis build.
Since there still seems to be some instability with this job, this
changes `.travis.yml` to allow the job to fail without failing the
build.
  • Loading branch information
johnzeringue committed Mar 28, 2015
1 parent dbc94fe commit 13886d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ env:
- USE_FRAMEBUFFER=true
- USE_FRAMEBUFFER=false _JAVA_OPTIONS="-Djava.awt.headless=true -Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw -Dprism.text=t2k -Dtestfx.setup.timeout=2500"

# allow job to fail without framebuffer
matrix:
allow_failures:
- env: USE_FRAMEBUFFER=false _JAVA_OPTIONS="-Djava.awt.headless=true -Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw -Dprism.text=t2k -Dtestfx.setup.timeout=2500"

# run on xvfb screen.
before_install:
- if [ $USE_FRAMEBUFFER = "true" ]; then export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start; fi
Expand Down

0 comments on commit 13886d9

Please sign in to comment.