language: c

before_install:
  - git submodule update --init --recursive

install:
  - sudo apt-get install mono-devel mono-gmcs nunit-console
  - mozroots --import --sync
  - export EnableNuGetPackageRestore="true"

script:
  - xbuild
  - nunit-console -framework=4.0.30319.1 ./MaxMind.DB.Test/bin/Debug/MaxMind.DB.Test.dll

notifications:
  email:
    recipients:
      - dev@maxmind.com
    on_success: change
    on_failure: always

language: objective-c

before_install:
 - wget http://download.mono-project.com/archive/3.2.3/macos-10-x86/MonoFramework-MDK-3.2.3.macos10.xamarin.x86.pkg
 - sudo installer -pkg "MonoFramework-MDK-3.2.3.macos10.xamarin.x86.pkg" -target /
 - export EnableNuGetPackageRestore="true"
 - git submodule update --init --recursive
 - mono --runtime=v4.0 .nuget/NuGet.exe install NUnit.Runners -Version 2.6.1 -o packages

script:
  - xbuild
  - mono --runtime=v4.0 packages/NUnit.Runners.2.6.1/tools/nunit-console.exe ./MaxMind.DB.Test/bin/Debug/MaxMind.DB.Test.dll

notifications:
  email:
    recipients:
      - dev@maxmind.com
    on_success: change
    on_failure: always

Test using newer Mono on a Mac
Test using newer Mono on a Mac
