From c9f88d059a3fcb13a9f010bc08cb57d0c08064cd Mon Sep 17 00:00:00 2001 From: Zama Bandeira Braga Date: Mon, 1 May 2017 09:42:30 -0300 Subject: [PATCH] #10 set target framework in build --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index ab7cfa6..ab0d260 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 . @@ -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 @@ -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