fix init of ci script

This commit is contained in:
Patrick von Reth 2015-07-25 15:17:26 +02:00
parent 82448038b8
commit f90ccbb6b1

View File

@ -1,13 +1,10 @@
version: '{build}' version: '{build}'
branches:
only:
- master
- ci
build_script: build_script:
- ps: | - ps: |
if ( !(Test-Path "$env:APPVEYOR_BUILD_FOLDER\work\appveyorHelp.psm1")) if ( !(Test-Path "$env:APPVEYOR_BUILD_FOLDER\work\appveyorHelp.psm1"))
{ {
mkdir $env:APPVEYOR_BUILD_FOLDER\work\
Start-FileDownload https://raw.githubusercontent.com/TheOneRing/appVeyorHelp/master/appveyorHelp.psm1 -FileName $env:APPVEYOR_BUILD_FOLDER\work\appveyorHelp.psm1 Start-FileDownload https://raw.githubusercontent.com/TheOneRing/appVeyorHelp/master/appveyorHelp.psm1 -FileName $env:APPVEYOR_BUILD_FOLDER\work\appveyorHelp.psm1
} }
$ErrorActionPreference="Stop" $ErrorActionPreference="Stop"
@ -55,8 +52,6 @@ environment:
artifacts: artifacts:
- path: work\image - path: work\image
name: $(APPVEYOR_PROJECT_NAME)-Qt$(QT_VER)-$(COMPILER) name: $(APPVEYOR_PROJECT_NAME)-Qt$(QT_VER)-$(COMPILER)
- path: work\log
name: log-$(APPVEYOR_PROJECT_NAME)-Qt$(QT_VER)-$(COMPILER)
deploy: deploy:
- provider: Environment - provider: Environment