mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
image: Visual Studio 2015
|
|
|
|
build: off
|
|
deploy: off
|
|
|
|
#---------------------------------#
|
|
# environment configuration #
|
|
#---------------------------------#
|
|
|
|
shallow_clone: true
|
|
platform: x64
|
|
environment:
|
|
nodejs_version: "6.5.0"
|
|
|
|
# Things to install after repo clone
|
|
install:
|
|
- ps: Install-Product node $env:nodejs_version $env:Platform
|
|
- npm install -g npm@latest > Nul
|
|
- npm install > NUL
|
|
|
|
cache:
|
|
- '%APPDATA%\npm-cache'
|
|
- '%USERPROFILE%\.electron'
|
|
- 'node_modules'
|
|
|
|
#---------------------------------#
|
|
# tests configuration #
|
|
#---------------------------------#
|
|
|
|
test_script:
|
|
- node --version
|
|
- npm --version
|
|
- npm test
|
|
|
|
#---------------------------------#
|
|
# deployment configuration #
|
|
#---------------------------------#
|
|
|
|
#deploy:
|
|
# - provider: S3
|
|
# access_key_id:
|
|
# secure: ABcd==
|
|
# secret_access_key:
|
|
# secure: ABcd==
|
|
# bucket: my_bucket
|
|
# folder:
|
|
# artifact:
|
|
# set_public: false
|
|
|
|
#---------------------------------#
|
|
# global handlers #
|
|
#---------------------------------#
|
|
|
|
#on_success:
|
|
# - yarn run build-n-package:win
|
|
# - ps: ls .\dist\win\* | % { Push-AppveyorArtifact $_.FullName }
|