language: csharp
mono: latest
dotnet: 1.0.0-preview2-003131

sudo: required
dist: trusty

os:
  - linux
  - osx
osx_image: xcode7.3

before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi

script:
  - ./build.sh --verbosity diagnostic
  
notifications:
  email: false
language: csharp
mono: latest

sudo: required
dist: trusty

os:
  - linux
  #- osx
#osx_image: xcode7.3

before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi

install:
- sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
- sudo apt-get update
- sudo apt-get install dotnet-dev-1.0.0-preview2.1-003177

script:
  - ./build.sh --verbosity diagnostic
  
notifications:
  email: false
Test installing latest dotnet cli
Test installing latest dotnet cli
