Skip to content

Use Travis' csharp language setup #1300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Travis-CI Build for libgit2sharp
# see travis-ci.org for details

language: c
language: csharp
mono:
- 3.12.0
- 4.2.3

os:
- osx
Expand All @@ -14,11 +17,9 @@ env:
before_install:
- date -u
- uname -a
- export PATH=/opt/mono/bin:$PATH
- env | sort

# Make sure CMake and Mono are installed
install: ./CI/travis.${TRAVIS_OS_NAME}.install.deps.sh
solution: LibGit2Sharp.sln

# Build libgit2, LibGit2Sharp and run the tests
script:
Expand Down
10 changes: 0 additions & 10 deletions CI/travis.linux.install.deps.sh

This file was deleted.

10 changes: 0 additions & 10 deletions CI/travis.osx.install.deps.sh

This file was deleted.

4 changes: 0 additions & 4 deletions build.libgit2sharp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ EXTRADEFINE="$1"
# working directory in its library search path, so it works without this value.
export LD_LIBRARY_PATH=.

# Required for NuGet package restore to run.
mozroots --import --sync

mono Lib/NuGet/NuGet.exe restore LibGit2Sharp.sln
xbuild CI/build.msbuild /target:Deploy /property:ExtraDefine="$EXTRADEFINE"

exit $?