Skip to content

Commit

Permalink
drr00t#10 set target framework in build
Browse files Browse the repository at this point in the history
  • Loading branch information
zamabraga committed May 1, 2017
1 parent 6260d7c commit c9f88d0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ install:
- nuget restore src/TweetNaCl.sln
- nuget install NUnit.Runners -Version 3.0.1 -OutputDirectory src/packages
- nuget install coveralls.net -Version 0.7.0 -OutputDirectory src/packages
- sudo apt-get install gtk-sharp2
- sudo apt-get install gtk-sharp2 mono-profiler
- curl -sS https://api.nuget.org/packages/mono.cecil.0.9.6.4.nupkg > /tmp/mono.cecil.0.9.6.4.nupkg.zip
- unzip /tmp/mono.cecil.0.9.6.4.nupkg.zip -d /tmp/cecil
- cp /tmp/cecil/lib/net40/Mono.Cecil.dll .
Expand All @@ -39,10 +39,10 @@ install:
- sudo make install
- cd ../../zamabraga/tweetnacl-cs
script:
- xbuild /p:Configuration=Release ./src/TweetNaCl.sln
- xbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.5 ./src/TweetNaCl.sln
- ls ./src/TweetNaCl.Tests/bin/Release/
- export LD_LIBRARY_PATH=/usr/local/lib
- mono --debug --profile=monocov:outfile=monocovCoverage.cov,+[TweetNaCl],+[System] ./src/packages/NUnit.Console.3.0.1/tools/nunit3-console.exe ./src/TweetNaCl.Tests/bin/Release/TweetNaCl.Tests.dll
- export LD_LIBRARY_PATH=/usr/local/lib
- mono --debug --profile=monocov:outfile=monocovCoverage.cov,+[NaCl.TweetNaCl] ./src/packages/NUnit.Console.3.0.1/tools/nunit3-console.exe ./src/TweetNaCl.Tests/bin/Release/TweetNaCl.Tests.dll
- monocov --export-xml=monocovCoverage monocovCoverage.cov
- cat monocovCoverage.cov
- ls monocovCoverage
Expand All @@ -54,5 +54,5 @@ script:
- echo $REPO_COMMIT_AUTHOR
- echo $REPO_COMMIT_AUTHOR_EMAIL
- echo $REPO_COMMIT_MESSAGE
- echo $TRAVIS_JOB_ID
- echo $TRAVIS_JOB_ID
- mono ./src/packages/coveralls.net.0.7.0/tools/csmacnz.Coveralls.exe --monocov -i ./monocovCoverage --repoToken $COVERALLS_REPO_TOKEN --commitId $TRAVIS_COMMIT --commitBranch $TRAVIS_BRANCH --commitAuthor "$REPO_COMMIT_AUTHOR" --commitEmail "$REPO_COMMIT_AUTHOR_EMAIL" --commitMessage "$REPO_COMMIT_MESSAGE" --jobId $TRAVIS_JOB_ID --serviceName travis-ci --useRelativePaths

0 comments on commit c9f88d0

Please sign in to comment.