Skip to content

Commit

Permalink
Added AppVeyor, Travis and Circle CI config files.
Browse files Browse the repository at this point in the history
  • Loading branch information
GlitchedPolygons committed Aug 13, 2019
1 parent 21db0f4 commit 08b82b1
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .appveyor.yml
@@ -0,0 +1,8 @@
version: 1.0.{build}
image: Ubuntu1804
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
build_script:
- sh: cd src && dotnet build -c Release && cd ..
test_script:
- sh: cd tests && dotnet add package Appveyor.TestLogger --version 2.0.0 && dotnet restore && dotnet test --test-adapter-path:. --logger:Appveyor
16 changes: 16 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,16 @@
version: 2
jobs:
build:
docker:
- image: microsoft/dotnet:2.2-sdk
steps:
- checkout
- run:
name: Disable .NET Telemetry
command: echo 'export DOTNET_CLI_TELEMETRY_OPTOUT=1' >> $BASH_ENV && source $BASH_ENV
- run:
name: Restore NuGet dependencies
command: dotnet restore
- run:
name: Run xunit tests
command: cd tests && dotnet test
17 changes: 17 additions & 0 deletions .travis.yml
@@ -0,0 +1,17 @@
language: csharp
sudo: false # faster builds
dist: xenial
notifications:
email: false
env:
- DOTNET_CLI_TELEMETRY_OPTOUT=1
before_install:
- git lfs pull
install:
- dotnet restore
mono: none
dotnet: 2.2
script:
- dotnet restore
- cd tests/
- dotnet test

0 comments on commit 08b82b1

Please sign in to comment.