Permalink
Browse files

Minor Travis-ci fixes and updated README

1 parent 096b34a commit 9ef34e35e11fffa57642b7632a6144f1ceeb91c0 Peter Jas committed Jul 1, 2016
Showing with 7 additions and 11 deletions.
  1. +4 −2 .travis.yml
  2. +3 −9 README.md
View
@@ -30,7 +30,6 @@ matrix:
before_install:
# Install OpenSSL
- if test "$TRAVIS_OS_NAME" == "osx"; then
- brew update;
brew install openssl;
brew link --force openssl;
export DOTNET_SDK_URL="https://go.microsoft.com/fwlink/?LinkID=809128";
@@ -107,7 +106,10 @@ install:
# ```
# Now the actual one-liner (compressed) version:
#
- - . $HOME/.nvm/nvm.sh && nvm install stable && nvm use stable && node -p "jsonPath='./test/dotnet-test-nunit.test.runner/project.json';data=require(jsonPath);fs=require('fs');delete data.frameworks.net451;fs.writeFileSync(jsonPath, JSON.stringify(data, null, 2))"
+ - if test "$TRAVIS_OS_NAME" == "linux"; then
+ nvm install stable && nvm use stable;
+ fi
+ - node -e "jsonPath='./test/dotnet-test-nunit.test.runner/project.json';data=require(jsonPath);fs=require('fs');delete data.frameworks.net451;fs.writeFileSync(jsonPath, JSON.stringify(data, null, 2))"
# Restore dependencies
- dotnet restore
View
@@ -17,20 +17,14 @@ Your `project.json` in your test project should look like the following;
"version": "1.0.0-*",
"dependencies": {
- "NUnitWithDotNetCoreRC2": "1.0.0-*",
- "NETStandard.Library": "1.5.0-rc2-24027",
- "NUnit": "3.2.1",
- "dotnet-test-nunit": "3.4.0-alpha-2"
+ "dotnet-test-nunit": "3.4.0-beta-1"
},
+
"testRunner": "nunit",
"frameworks": {
"netcoreapp1.0": {
- "imports": [
- "dnxcore50",
- "netcoreapp1.0",
- "portable-net45+win8"
- ],
+ "imports": "portable-net45+win8",
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",

0 comments on commit 9ef34e3

Please sign in to comment.