Skip to content

Commit

Permalink
Fixes environment variables in appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmo0 committed Sep 24, 2014
1 parent e8dad6a commit f2a3791
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ matrix:

# to run your custom scripts instead of automatic MSBuild
build_script:
- ps: cd build
- ps: Import-Module .\psake.psm1
- ps: Invoke-Psake .\build.ps1 -properties @{"BuildNumber"="{build}"}
- ps: Import-Module .\build\psake.psm1
- ps: Invoke-Psake .\build\build.ps1 -properties @{"BuildNumber"=$env:APPVEYOR_BUILD_NUMBER}

#---------------------------------#
# tests configuration #
Expand All @@ -52,6 +51,5 @@ artifacts:

# on successful build
on_success:
- ps: cd build
- ps: Import-Module .\psake.psm1
- ps: Invoke-Psake .\build.ps1 Publish-Nuget -properties @{"NugetApiKey"="$(APIKEY)";"NugetSource"="$(SOURCE)""}
- ps: Import-Module .\build\psake.psm1
- ps: Invoke-Psake .\build\build.ps1 Publish-Nuget -properties @{"NugetApiKey"=$env:APIKEY;"NugetSource"=$env:SOURCE}

0 comments on commit f2a3791

Please sign in to comment.