Skip to content
This repository has been archived by the owner on Nov 27, 2017. It is now read-only.

Commit

Permalink
Minor Travis-ci fixes and updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Jas committed Jul 3, 2016
1 parent 096b34a commit 9ef34e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Expand Up @@ -30,7 +30,6 @@ matrix:
before_install: before_install:
# Install OpenSSL # Install OpenSSL
- if test "$TRAVIS_OS_NAME" == "osx"; then - if test "$TRAVIS_OS_NAME" == "osx"; then
brew update;
brew install openssl; brew install openssl;
brew link --force openssl; brew link --force openssl;
export DOTNET_SDK_URL="https://go.microsoft.com/fwlink/?LinkID=809128"; export DOTNET_SDK_URL="https://go.microsoft.com/fwlink/?LinkID=809128";
Expand Down Expand Up @@ -107,7 +106,10 @@ install:
# ``` # ```
# Now the actual one-liner (compressed) version: # 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 # Restore dependencies
- dotnet restore - dotnet restore
Expand Down
12 changes: 3 additions & 9 deletions README.md
Expand Up @@ -17,20 +17,14 @@ Your `project.json` in your test project should look like the following;
"version": "1.0.0-*", "version": "1.0.0-*",


"dependencies": { "dependencies": {
"NUnitWithDotNetCoreRC2": "1.0.0-*", "dotnet-test-nunit": "3.4.0-beta-1"
"NETStandard.Library": "1.5.0-rc2-24027",
"NUnit": "3.2.1",
"dotnet-test-nunit": "3.4.0-alpha-2"
}, },

"testRunner": "nunit", "testRunner": "nunit",


"frameworks": { "frameworks": {
"netcoreapp1.0": { "netcoreapp1.0": {
"imports": [ "imports": "portable-net45+win8",
"dnxcore50",
"netcoreapp1.0",
"portable-net45+win8"
],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"version": "1.0.0-*", "version": "1.0.0-*",
Expand Down

0 comments on commit 9ef34e3

Please sign in to comment.