-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): add Travis and AppVeyor ci support
- Loading branch information
Showing
11 changed files
with
302 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
version: '{build}' | ||
|
||
platform: | ||
- x86 | ||
|
||
pull_requests: | ||
do_not_increment_build_number: true | ||
|
||
branches: | ||
only: | ||
- master | ||
- ci-test | ||
|
||
test: off | ||
|
||
# We deploy via grunt publish-nylas-build instead of AppVeyor | ||
deploy: off | ||
|
||
# We need to only clone the main module because our submodule requires the | ||
# encrypted ssh key to access submodules | ||
clone_depth: 1 | ||
build: | ||
verbosity: minimal | ||
install: | ||
- ps: Install-Product node $env:NODE_VERSION $env:PLATFORM | ||
- ps: nuget install secure-file -ExcludeVersion | ||
|
||
# We need to extract the encrypted private ssh key to clone the submodule. | ||
- ps: secure-file\tools\secure-file -decrypt build\resources\ssh\nylas-n1-ci-ssh-secure-file.enc -secret $env:DECRYPTION_PASSWORD | ||
- ps: mv -Force build\resources\ssh\nylas-n1-ci-ssh-secure-file c:\users\appveyor\.ssh\id_rsa | ||
- ps: git submodule init | ||
# http://stackoverflow.com/questions/21002919/running-a-remote-powershell-script-with-a-git-command-in-it-results-in-nativecom | ||
- ps: Start-Process -FilePath git.exe -ArgumentList 'submodule update' -Wait -NoNewWindow | ||
|
||
- ps: secure-file\tools\secure-file -decrypt build\resources\nylas\encrypted_certificates\appveyor\win-nylas-n1.p12.enc -secret $env:DECRYPTION_PASSWORD | ||
- ps: secure-file\tools\secure-file -decrypt build\resources\nylas\encrypted_certificates\appveyor\set_win_env.ps1.enc -secret $env:DECRYPTION_PASSWORD | ||
- ps: . build\resources\nylas\encrypted_certificates\appveyor\set_win_env.ps1 | ||
|
||
build_script: | ||
- ps: .\script\cibuild.ps1 | ||
|
||
environment: | ||
matrix: | ||
- NODE_VERSION: 0.12 | ||
PUBLISH_BUILD: true | ||
global: | ||
CERTIFICATE_FILE: .\build\resources\nylas\encrypted_certificates\appveyor\win-nylas-n1.p12 | ||
DECRYPTION_PASSWORD: | ||
secure: 48VSzDtdBd52Xlo3TZ1NeR1yRRrZ3AU6Px5XjD5RDp44cFU5GYVspecGqX6DGCV7i0D7nldGMyEbXNrjM1t1Kw== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule nylas
updated
from 2c6ed6 to 48e33f
Binary file not shown.
Binary file not shown.
Oops, something went wrong.