Skip to content

Commit

Permalink
drr00t#10 add support to code cover
Browse files Browse the repository at this point in the history
  • Loading branch information
zamabraga committed Apr 12, 2017
1 parent 0071a6d commit f19ebf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mono:
install:
- nuget restore src/TweetNaCl.sln
- nuget install NUnit.Runners -Version 3.0.1 -OutputDirectory src/packages
- nuget install coveralls.net -OutputDirectory src/packages
- nuget install coveralls.net -Version 0.7.0 -OutputDirectory src/packages
- sudo apt-get install gtk-sharp2
- curl -sS https://api.nuget.org/packages/mono.cecil.0.9.5.4.nupkg > /tmp/mono.cecil.0.9.5.4.nupkg.zip
- unzip /tmp/mono.cecil.0.9.5.4.nupkg.zip -d /tmp/cecil
Expand All @@ -41,6 +41,7 @@ script:
- xbuild /p:Configuration=Release ./src/TweetNaCl.sln
- export LD_LIBRARY_PATH=/usr/local/lib
- mono --debug --profile=monocov:outfile=monocovCoverage.cov,+[TweetNaCl],+[TweetNaCl.Tests] ./src/packages/NUnit.Console.3.0.1/tools/nunit3-console.exe ./src/TweetNaCl.Tests/bin/Release/TweetNaCl.Tests.dll
- cat monocovCoverage.cov
- monocov --export-xml=monocovCoverage monocovCoverage.cov
- cat monocovCoverage.cov
- ls monocovCoverage
Expand Down

0 comments on commit f19ebf0

Please sign in to comment.