Skip to content

Commit

Permalink
register source nuget-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Sep 26, 2017
1 parent 9c7bdc2 commit a752992
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
language: csharp
solution: Homologador.sln
install:
- nuget restore Homologador.sln -Source https://nuget.org/api/v2/ -Source $NUGET_SOURCE -UserName $NUGET_USER -Password $NUGET_PASS
- nuget sources Add -Name "MyNugetServer" -Source $NUGET_SOURCE -UserName $NUGET_USER -Password $NUGET_PASS
- nuget source Enable -Name "MyNugetServer"
- nuget restore Homologador.sln -Source https://nuget.org/api/v2/ -Source $NUGET_SOURCE
script:
- xbuild /p:Configuration=Release Homologador.Fe/Homologador.Fe.csproj
- xbuild /p:Configuration=Release Homologador/Homologador.UI.csproj
4 changes: 3 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
configuration: Release

before_build:
- nuget restore Homologador.sln -Source https://nuget.org/api/v2/ -Source %NUGET_SOURCE% -UserName %NUGET_USER% -Password %NUGET_PASS%
- nuget sources Add -Name "MyNugetServer" -Source %NUGET_SOURCE% -UserName %NUGET_USER% -Password %NUGET_PASS%
- nuget source Enable -Name "MyNugetServer"
- nuget restore Homologador.sln -Source https://nuget.org/api/v2/ -Source %NUGET_SOURCE%

build:
verbosity: minimal

0 comments on commit a752992

Please sign in to comment.