Add appveyor and travis CI config

This commit is contained in:
Nate McMaster 2018-01-11 14:06:54 -08:00
parent cefe2aa65d
commit 805540ddb8
2 changed files with 41 additions and 0 deletions

21
.appveyor.yml Normal file
View File

@ -0,0 +1,21 @@
init:
- git config --global core.autocrlf true
branches:
only:
- master
- /^release\/.*/
- dev
- /^(.*\/)?ci-.*$/
install:
# Set depth to 50 because the commit we need may not be at the tip of the branch configured in .gitmodules
- git submodule update --init --depth=50 --recursive
build_script:
- ps: .\build.ps1 /t:ComputeGraph
clone_depth: 1
environment:
global:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
test: off
deploy: off
os: Visual Studio 2017

20
.travis.yml Normal file
View File

@ -0,0 +1,20 @@
language: csharp
sudo: false
dist: trusty
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
mono: none
addons:
apt:
packages:
- libunwind8
branches:
only:
- master
- /^release\/.*/
- dev
- /^(.*\/)?ci-.*$/
script:
- ./build.sh -t:ComputeGraph