Skip to content

Commit

Permalink
(chore) Travis: Run headless tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
hastebrot committed Mar 18, 2015
1 parent 10e2e6c commit 607c986
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ language: java
jdk:
- oraclejdk8

# use operating systems
os:
- linux
- osx

# run in container und keep gradle cache.
sudo: false
cache:
Expand All @@ -11,11 +16,16 @@ cache:

# run on xvfb screen.
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start

# skip install stage.
install: true

# run gradle build.
script: ./gradlew build
env:
- _JAVA_OPTIONS=
- _JAVA_OPTIONS="-Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw -Dprism.text=t2k"

script:
- ./gradlew build
1 change: 1 addition & 0 deletions subprojects/testfx-core/testfx-core.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ dependencies {
}
testCompile "org.mockito:mockito-all:1.9.5"
testCompile "org.controlsfx:controlsfx:8.20.8"
testCompile "org.testfx:openjfx-monocle:1.8.0_20"
}

0 comments on commit 607c986

Please sign in to comment.