Browse Source

Update CI config

master
yangxiaodong 7 years ago
parent
commit
4e2c016e2d
1 changed files with 20 additions and 11 deletions
  1. +20
    -11
      .travis.yml

+ 20
- 11
.travis.yml View File

@@ -1,19 +1,28 @@
language: csharp
sudo: required
dist: trusty
mono: none
dotnet: 1.0.0

matrix:
include:
- os: linux
dist: trusty # Ubuntu 14.04
dotnet: 1.0.1
mono: none
env: DOTNETCORE=1
sudo: required
- os: osx
osx_image: xcode7.3 # macOS 10.11
dotnet: 1.0.1
mono: none
env: DOTNETCORE=1

before_install:
- chmod a+x ./build.sh
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then ulimit -n 1024 ; fi

install:
- export DOTNET_CLI_TELEMETRY_OPTOUT=1
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm get stable; brew update; brew install openssl; fi
os:
- linux
- osx
osx_image: xcode7.3
before_script:
- chmod a+x ./build.sh

script:
- ./build.sh
notifications:
email: false
- ./build.sh

Loading…
Cancel
Save