2017-05-03 21:43:04 +00:00
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- '%LOCALAPPDATA%\electron\Cache'
|
2017-06-14 19:40:29 +00:00
|
|
|
- node_modules -> package.json
|
2017-05-03 21:43:04 +00:00
|
|
|
|
|
|
|
install:
|
2017-07-07 16:41:09 +00:00
|
|
|
- systeminfo | findstr /C:"OS"
|
2017-05-03 21:43:04 +00:00
|
|
|
- set PATH=C:\Ruby23-x64\bin;%PATH%
|
|
|
|
- ps: Install-Product node 6 x64
|
|
|
|
- yarn install
|
|
|
|
|
2017-05-05 23:28:27 +00:00
|
|
|
build_script:
|
2017-06-20 21:47:33 +00:00
|
|
|
- yarn run icon-gen
|
2017-09-14 23:05:31 +00:00
|
|
|
- node build\grunt.js
|
2017-05-16 22:49:29 +00:00
|
|
|
- node_modules\.bin\build --em.environment=%SIGNAL_ENV% --publish=never
|
2017-05-05 23:28:27 +00:00
|
|
|
|
2017-05-03 21:43:04 +00:00
|
|
|
test_script:
|
2017-09-14 23:05:31 +00:00
|
|
|
- node build\grunt.js test-release:win
|
|
|
|
- node build\grunt.js test
|
2017-05-03 21:43:04 +00:00
|
|
|
|
2017-05-04 01:21:24 +00:00
|
|
|
artifacts:
|
2017-05-05 23:28:27 +00:00
|
|
|
- path: dist/*.*
|
2017-05-04 01:21:24 +00:00
|
|
|
|
2017-05-05 00:26:51 +00:00
|
|
|
environment:
|
|
|
|
SIGNAL_ENV: production
|
|
|
|
|
2017-05-04 01:21:24 +00:00
|
|
|
deploy:
|
|
|
|
provider: Environment
|
|
|
|
name: signal-desktop-builds
|