macOS doesn't seem to have "xvfb-run", and may not need it anyway

This commit is contained in:
Ben Liblit 2018-02-08 20:55:28 -06:00
parent aff4067c39
commit cb72ebc177
1 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
# -*- mode: sh; sh-shell: sh -*-
xvfb-run ./gradlew build javadoc lintGradle
case "$TRAVIS_OS_NAME" in
(linux) headless=xvfb-run ;;
(osx) headless= ;;
esac
$headless ./gradlew build javadoc lintGradle