Skip to content

Commit

Permalink
Merge pull request #211 from johnzeringue/allow-failures
Browse files Browse the repository at this point in the history
(chore) Travis: Allow jobs without framebuffer to fail.
  • Loading branch information
hastebrot committed Mar 30, 2015
2 parents e15989b + 4853d65 commit 833ff0f
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 833ff0f

Please sign in to comment.