Pick up CI from the environment

This commit is contained in:
Ash Wilson 2018-08-08 10:47:31 -04:00
parent ed47bf7fd5
commit 96e563555c
No known key found for this signature in database
GPG Key ID: 81B1DDB704F69D2A
5 changed files with 10 additions and 10 deletions

View File

@ -28,7 +28,7 @@ install:
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION
- npm install --global npm@6.2.0
- script/build --ci --create-debian-package --create-rpm-package --compress-artifacts
- script/build --create-debian-package --create-rpm-package --compress-artifacts
script:
- script/lint

View File

@ -48,18 +48,18 @@ build_script:
- IF [%TASK%]==[installer] (
IF [%IS_RELEASE_BRANCH%]==[true] (
ECHO Building on release branch - Creating production artifacts &&
script\build.cmd --ci --code-sign --compress-artifacts --create-windows-installer
script\build.cmd --code-sign --compress-artifacts --create-windows-installer
) ELSE (
IF [%IS_SIGNED_ZIP_BRANCH%]==[true] (
ECHO Building on %APPVEYOR_REPO_BRANCH% branch - Creating signed zips &&
script\build.cmd --ci --code-sign --compress-artifacts
script\build.cmd --code-sign --compress-artifacts
) ELSE (
ECHO Skipping installer build for non-release/non-master branch
)
)
) ELSE (
ECHO Test build only - Not creating artifacts &&
script\build.cmd --ci
script\build.cmd
)
test_script:

View File

@ -22,7 +22,7 @@ phases:
displayName: Install apt dependencies
- script: |
script/build --ci --create-debian-package --create-rpm-package --compress-artifacts
script/build --create-debian-package --create-rpm-package --compress-artifacts
env:
ATOM_RELEASE_VERSION: $(ReleaseVersion)
displayName: Build Atom

View File

@ -20,9 +20,9 @@ phases:
- script: |
if [ $IS_RELEASE_BRANCH == "true" ] || [ $IS_SIGNED_ZIP_BRANCH == "true" ]; then
script/build --ci --code-sign --compress-artifacts
script/build --code-sign --compress-artifacts
else
script/build --ci --compress-artifacts
script/build --compress-artifacts
fi
displayName: Build Atom
env:

View File

@ -33,14 +33,14 @@ phases:
SET SQUIRREL_TEMP=C:\tmp
IF [%IS_RELEASE_BRANCH%]==[true] (
ECHO Creating production artifacts for release branch %BUILD_SOURCEBRANCHNAME%
script\build.cmd --ci --code-sign --compress-artifacts --create-windows-installer
script\build.cmd --code-sign --compress-artifacts --create-windows-installer
) ELSE (
IF [%IS_SIGNED_ZIP_BRANCH%]==[true] (
ECHO Creating signed CI artifacts for branch %BUILD_SOURCEBRANCHNAME%
script\build.cmd --ci --code-sign --compress-artifacts
script\build.cmd --code-sign --compress-artifacts
) ELSE (
ECHO Pull request build, no code signing will be performed
script\build.cmd --ci --compress-artifacts
script\build.cmd --compress-artifacts
)
)
env: