Created
March 29, 2015 06:36
-
-
Save i8degrees/be752bccd29c17682217 to your computer and use it in GitHub Desktop.
travis-ci example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
os: | |
- osx | |
# language: cpp | |
language: objective-c | |
compiler: | |
- clang | |
# - gcc | |
before_install: | |
- brew update | |
# - brew install cmake | |
# FIXME: It might be best if we packaged the freetype2 libs for libRocket | |
# ourselves? | |
- brew install freetype | |
# NOM_DEPS_URL and NOM_OSX_SDK_URL has been set by our repository settings | |
- wget -O /tmp/deps.tar.gz $NOM_DEPS_URL | |
before_script: | |
- tar -xzf /tmp/deps.tar.gz -C third-party | |
- sudo mkdir -p '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs' | |
- sudo tar -xzf /tmp/osx10.7.sdk.tar.gz -C /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs | |
- mkdir -p build && cd build | |
- cmake -GXcode -DDEBUG=on -DDEBUG_ASSERT=on -DEXAMPLES=on -DNOM_BUILD_TESTS=on -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_INSTALL_PREFIX=~/Library/Frameworks .. | |
script: | |
- xcodebuild build | |
- xcodebuild -target install | |
- xcodebuild -target uninstall | |
notifications: | |
email: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment