# Travis-CI Build for libgit2sharp
# see travis-ci.org for details

language: csharp
mono:
 - 3.12.0
 - 4.2.3

os:
 - osx
 - linux

# The newer image cannot find mono 3.12 in the PATH
osx_image: xcode6.4

env:
 global:
  - MONO_OPTIONS=--debug

install:
  - curl -L -o nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
  - mono nuget.exe restore LibGit2Sharp.sln

before_install:
 - date -u
 - uname -a
 - env | sort

solution: LibGit2Sharp.sln

# Build libgit2, LibGit2Sharp and run the tests
script:
 - ./build.libgit2sharp.sh 'LEAKS_IDENTIFYING'

# Only watch the development branch
branches:
 only:
   - master
   - /^maint.*/

# Notify of build changes
notifications:
 email:
  - emeric.fermas@gmail.com

# Travis-CI Build for libgit2sharp
# see travis-ci.org for details

language: csharp
mono:
 - latest

os:
 - osx
 - linux

env:
 global:
  - MONO_OPTIONS=--debug

install:
  - curl -L -o nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
  - mono nuget.exe restore LibGit2Sharp.sln

before_install:
 - date -u
 - uname -a
 - env | sort

solution: LibGit2Sharp.sln

# Build libgit2, LibGit2Sharp and run the tests
script:
 - ./build.libgit2sharp.sh 'LEAKS_IDENTIFYING'

# Only watch the development branch
branches:
 only:
   - master
   - /^maint.*/

# Notify of build changes
notifications:
 email:
  - emeric.fermas@gmail.com

Drop old mono versions since they can't build net46
Drop old mono versions since they can't build net46

Use latest instead
