language: c

notifications:
  email:
    on_success: always

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq mono-devel gtk-sharp2

script: "xbuild /target:test"

language: objective-c

notifications:
  email:
    on_success: always

env:
  matrix:
    - MONO_VERSION="3.2.5"

before_install:
  - wget "http://download.xamarin.com/MonoFrameworkMDK/Macx86/MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg"
  - sudo installer -pkg MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg -target /
  - export EnableNuGetPackageRestore="true"

script:
  - xbuild /target:test

Upgrade to Mono 3.2.5 on Travis.
    Upgrade to Mono 3.2.5 on Travis.

    Per [1] it's easier to do this if we ask Travis to run on a Mac host.

    1: http://stackoverflow.com/questions/16751772/how-do-i-use-travis-ci-with-c-sharp-or-f/16751773#16751773
