From bc7226ba27b88bf496a9c72d130e17fc891336f1 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Tue, 13 Feb 2018 20:10:53 -0800 Subject: [PATCH] Fix AppVeyor and travis --- .appveyor.yml | 19 +++++++++++++++++++ .travis.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .appveyor.yml create mode 100644 .travis.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000000..d0b4c6936b --- /dev/null +++ b/.appveyor.yml @@ -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 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..f117c4565a --- /dev/null +++ b/.travis.yml @@ -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 \ No newline at end of file