Skip to content

Commit cd8ca84

Browse files
author
Edward Thomson
committed
Merge pull request #1300 from libgit2/cmn/travis-csharp
Use Travis' csharp language setup
2 parents 26b61fc + 85ad800 commit cd8ca84

File tree

4 files changed

+5
-28
lines changed

4 files changed

+5
-28
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Travis-CI Build for libgit2sharp
22
# see travis-ci.org for details
33

4-
language: c
4+
language: csharp
5+
mono:
6+
- 3.12.0
7+
- 4.2.3
58

69
os:
710
- osx
@@ -14,11 +17,9 @@ env:
1417
before_install:
1518
- date -u
1619
- uname -a
17-
- export PATH=/opt/mono/bin:$PATH
1820
- env | sort
1921

20-
# Make sure CMake and Mono are installed
21-
install: ./CI/travis.${TRAVIS_OS_NAME}.install.deps.sh
22+
solution: LibGit2Sharp.sln
2223

2324
# Build libgit2, LibGit2Sharp and run the tests
2425
script:

CI/travis.linux.install.deps.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

CI/travis.osx.install.deps.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

build.libgit2sharp.sh

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

12-
# Required for NuGet package restore to run.
13-
mozroots --import --sync
14-
15-
mono Lib/NuGet/NuGet.exe restore LibGit2Sharp.sln
1612
xbuild CI/build.msbuild /target:Deploy /property:ExtraDefine="$EXTRADEFINE"
1713

1814
exit $?

0 commit comments

Comments
 (0)