Skip to content

Instantly share code, notes, and snippets.

@BanzaiMan
Last active August 29, 2015 14:01
Show Gist options
  • Save BanzaiMan/5243f87d164ebb939eed to your computer and use it in GitHub Desktop.
Save BanzaiMan/5243f87d164ebb939eed to your computer and use it in GitHub Desktop.
Installing XQuartz on Travis CI Mac worker (see https://github.com/travis-ci/travis-ci/issues/2351)
language: objective-c
install: true
env:
- XQUARTZ_VERSION=2.7.7
before_install:
- curl -L -O http://xquartz.macosforge.org/downloads/SL/XQuartz-${XQUARTZ_VERSION}.dmg
- hdiutil mount XQuartz-${XQUARTZ_VERSION}.dmg
- sudo installer -store -pkg /Volumes/XQuartz-${XQUARTZ_VERSION}/XQuartz.pkg -target /
- hdiutil unmount /Volumes/XQuartz-${XQUARTZ_VERSION}
script:
- /opt/X11/bin/xterm&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment