Skip to content

Commit

Permalink
[Build] Update build and update nunit
Browse files Browse the repository at this point in the history
  • Loading branch information
decriptor committed May 8, 2017
1 parent 986e0e1 commit 776560f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -33,3 +33,4 @@ test-results
packages
.vs/*
!packages.config
.DS_Store
12 changes: 10 additions & 2 deletions .travis.yml
Expand Up @@ -5,11 +5,19 @@ mono:
- latest
solution: taglib-sharp.sln

# https://github.com/travis-ci/travis-ci/issues/5932#issuecomment-215693171
before_install:
- mkdir -p .nuget
- wget -O .nuget/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
- mono .nuget/nuget.exe # Output NuGet's version number

install:
- sudo apt-get update -qq > /dev/null
- nuget restore taglib-sharp.sln
- mono .nuget/nuget.exe restore taglib-sharp.sln -Verbosity detailed
- mono .nuget/nuget.exe install NUnit.Runners -Version 3.2.1 -OutputDirectory packages

script:
- ./autogen.sh
- xbuild taglib-sharp.sln
- nunit-console --labels=All tests/tests.dll
- cd tests
- mono ../packages/NUnit.ConsoleRunner.3.6.1/tools/nunit3-console.exe --labels=All tests.dll
3 changes: 2 additions & 1 deletion tests/packages.config
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="3.6.1" targetFramework="net45" />
</packages>
<package id="NUnit.ConsoleRunner" version="3.6.1" targetFramework="net45" />
</packages>

0 comments on commit 776560f

Please sign in to comment.