Today I changed the Travis CI config file of EncryptedType project to build on Mac OS X.
Here is EncryptedType’s .travis.yml file.
language: objective-c env: global: - MONO_VERSION=3.10.0 install: - wget "http://download.mono-project.com/archive/${MONO_VERSION}/macos-10-x86/MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg" - sudo installer -pkg "MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg" -target / script: - ./build.sh Build
EncryptedType is a .NET project written in C#, but the language given here is objective-c. This is THE TRICK! Travis CI automatically uses the OS X build environment when the specified language is objective-c.