Skip to content

Commit

Permalink
added install and script sections to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsequeira committed Aug 29, 2018
1 parent 39f6cd4 commit 2372b9c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ sudo: false

solution: byndercsharpsdk.sln

install:
- nuget restore byndercsharpsdk.sln
- nuget install NUnit.Runners -Version 3.8.0 -OutputDirectory testrunner

script:
- msbuild /p:Configuration=Release byndercsharpsdk.sln
- mono ./testrunner/NUnit.ConsoleRunner.3.8.0/tools/nunit3-console.exe ./Bynder/Test/bin/Release/Bynder.Test.dll

notifications:
email:
recipients:
Expand Down
10 changes: 5 additions & 5 deletions Bynder/Test/Utils/TestSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ public static Settings GetSettings()
{
return new Settings
{
URL = ConfigurationManager.AppSettings["API_BASE_URL"],
TOKEN = ConfigurationManager.AppSettings["TOKEN"],
TOKEN_SECRET = ConfigurationManager.AppSettings["TOKEN_SECRET"],
CONSUMER_KEY = ConfigurationManager.AppSettings["CONSUMER_KEY"],
CONSUMER_SECRET = ConfigurationManager.AppSettings["CONSUMER_SECRET"]
URL = "http://localhost:8890/",
TOKEN = "LOGIN_TOKEN",
TOKEN_SECRET = "LOGIN_TOKEN_SECRET",
CONSUMER_KEY = "CONSUMER_KEY",
CONSUMER_SECRET = "CONSUMER_SECRET"
};
}

Expand Down

0 comments on commit 2372b9c

Please sign in to comment.