Create Windows installer after the tests have run

This commit is contained in:
Damien Guard
2017-07-12 14:17:53 -07:00
parent 4354b8b7b3
commit 2d66dd93fb

View File

@@ -31,19 +31,20 @@ install:
- npm install -g npm
build_script:
- IF NOT EXIST C:\sqtemp MKDIR C:\sqtemp
- SET SQUIRREL_TEMP=C:\sqtemp
- CD %APPVEYOR_BUILD_FOLDER%
- IF [%APPVEYOR_REPO_BRANCH:~-9%]==[-releases] (
script\build.cmd --code-sign --create-windows-installer --compress-artifacts
) ELSE (
script\build.cmd --code-sign --compress-artifacts
)
- script\build.cmd --code-sign --compress-artifacts
test_script:
- script\lint.cmd
- script\test.cmd
after_test:
- IF [%APPVEYOR_REPO_BRANCH:~-9%]==[-releases] (
IF NOT EXIST C:\sqtemp MKDIR C:\sqtemp
SET SQUIRREL_TEMP=C:\sqtemp
script\build.cmd --existing-artifacts --code-sign --create-windows-installer
)
deploy: off
artifacts:
- path: out\AtomSetup.exe