Fix AppVeyor and travis

This commit is contained in:
Ryan Nowak 2018-02-13 20:10:53 -08:00 committed by Steve Sanderson
parent 51f10e1921
commit bc7226ba27
2 changed files with 48 additions and 0 deletions

19
.appveyor.yml Normal file
View File

@ -0,0 +1,19 @@
init:
- git config --global core.autocrlf true
branches:
only:
- dev
- /^release\/.*$/
- /^(.*\/)?ci-.*$/
clone_depth: 1
environment:
global:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
test: 'off'
deploy: 'off'
os: Visual Studio 2017 Preview
# Everything above here copied from the ASP.NET Core configurations
build:
project: Blazor.sln

29
.travis.yml Normal file
View File

@ -0,0 +1,29 @@
language: csharp
sudo: required
dist: trusty
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
addons:
apt:
packages:
- libunwind8
mono: none
os:
- linux
- osx
osx_image: xcode8.2
branches:
only:
- dev
- /^release\/.*$/
- /^(.*\/)?ci-.*$/
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
# Everything above here copied from the ASP.NET Core configurations
script:
- dotnet build Blazor.sln