Skip to content

Commit fca8128

Browse files
Edward Thomsonethomson
authored andcommitted
build with dotnetcore
1 parent 847ad24 commit fca8128

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.travis.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,14 @@
22
# see travis-ci.org for details
33

44
language: csharp
5-
mono:
6-
- latest
5+
dist: trusty
6+
dotnet: latest
7+
mono: latest
78

89
os:
910
- osx
1011
- linux
1112

12-
env:
13-
global:
14-
- MONO_OPTIONS=--debug
15-
16-
install:
17-
- curl -L -o nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
18-
- mono nuget.exe restore LibGit2Sharp.sln
19-
2013
before_install:
2114
- date -u
2215
- uname -a
@@ -35,6 +28,7 @@ branches:
3528
- master
3629
- /^maint.*/
3730
- portable
31+
- dotnetcore
3832

3933
# Notify of build changes
4034
notifications:

build.libgit2sharp.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ EXTRADEFINE="$1"
99
# working directory in its library search path, so it works without this value.
1010
export LD_LIBRARY_PATH=.
1111

12-
nuget restore
13-
xbuild CI/build.msbuild /target:Deploy /property:ExtraDefine="$EXTRADEFINE"
12+
dotnet restore
13+
dotnet build
1414

1515
exit $?

0 commit comments

Comments
 (0)