Skip to content

Commit 1768bfc

Browse files
committed
Add CI builds
1 parent 0d69703 commit 1768bfc

File tree

2 files changed

+20
-25
lines changed

2 files changed

+20
-25
lines changed

.travis.yml

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,19 @@
11
language: csharp
2+
#sudo: required
3+
sudo: false
4+
dist: trusty # Ubuntu 14.04
5+
mono: latest
6+
dotnet : 2.1.403
27

3-
sudo: false # use the new container-based Travis infrastructure
4-
5-
mono: 5.12.0
6-
7-
dotnet: 2.1.300
8+
before_install:
89

9-
install:
10+
- dotnet restore build.proj
1011

11-
# workaround for missing .net 4.5 targing pack
1212

13-
- export FrameworkPathOverride=$(dirname $(which mono))/../lib/mono/4.5/
13+
script:
14+
- dotnet fake build --target Linux
1415

15-
before_install:
16-
- chmod +x build.sh
17-
18-
matrix:
19-
include:
20-
- os: linux # Ubuntu 14.04
21-
dist: trusty
22-
sudo: required
23-
dotnet : 2.1.300
24-
- os: osx # OSX 10.12
25-
osx_image: xcode9.1
26-
dotnet : 2.1.300
27-
dist: trusty
28-
sudo: required
29-
30-
script:
31-
- ./build.sh All
16+
branches:
17+
except:
18+
- gh-pages
19+
- nuget

appveyor.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@ image: Visual Studio 2017
22

33
init:
44
- git config --global core.autocrlf input
5+
- dotnet tool install fake-cli -g
56
build_script:
67
- cmd: build.cmd All
78
test: off
89
version: 0.0.1.{build}
10+
11+
branches:
12+
only:
13+
- master
14+
- developer
15+
916
artifacts:
1017
- path: bin
1118
name: bin

0 commit comments

Comments
 (0)