Skip to content

Commit 4928423

Browse files
committed
Added CI configuration files
1 parent 8754891 commit 4928423

3 files changed

Lines changed: 36 additions & 10 deletions

File tree

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
/bin
22
/src/LitJson/AssemblyInfo.cs
33
/website
4+
[Oo]bj/
5+
[Bb]in/
6+
.vscode/
7+
[Tt]ools/*
8+
![Tt]ools/packages.config
9+
[Aa]rtifacts/
10+
.[Dd]otnet/

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
language: csharp
2+
os:
3+
- osx
4+
- linux
5+
6+
# Ubuntu 14.04
7+
sudo: required
8+
dist: trusty
9+
10+
# OS X 10.12
11+
osx_image: xcode9.2
12+
13+
mono:
14+
- 4.4.2
15+
16+
dotnet: 2.1.3
17+
18+
before_install:
19+
- git fetch --unshallow # Travis always does a shallow clone, but GitVersion needs the full history including branches and tags
20+
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
21+
- git fetch origin
22+
23+
script:
24+
- ./build.sh --target=Test

appveyor.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
version: 1.0.{build}
2-
image: Visual Studio 2017
3-
install:
4-
- ps: >-
5-
choco install make
1+
# Operating system (build VM template)
2+
os: Visual Studio 2017
63

7-
8-
mkdir bin
4+
# Build script
95
build_script:
10-
- cmd: >-
11-
cd build/make
6+
- ps: .\build.ps1 --target="AppVeyor" --verbosity=Verbose
127

13-
make CSC='"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Roslyn\csc.exe"'
8+
# Tests
149
test: off

0 commit comments

Comments
 (0)