2017-05-03 23:43:04 +02:00
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- '%LOCALAPPDATA%\electron\Cache'
|
2017-06-14 21:40:29 +02:00
|
|
|
- node_modules -> package.json
|
2017-05-03 23:43:04 +02:00
|
|
|
|
|
|
|
install:
|
2017-07-07 18:41:09 +02:00
|
|
|
- systeminfo | findstr /C:"OS"
|
2017-05-03 23:43:04 +02:00
|
|
|
- set PATH=C:\Ruby23-x64\bin;%PATH%
|
|
|
|
- ps: Install-Product node 6 x64
|
|
|
|
- yarn install
|
|
|
|
|
2017-05-06 01:28:27 +02:00
|
|
|
build_script:
|
2017-06-20 23:47:33 +02:00
|
|
|
- yarn run icon-gen
|
2017-08-11 03:21:30 +02:00
|
|
|
- del /f images\emoji\apple
|
|
|
|
- mkdir images\emoji\apple
|
2017-09-15 00:04:37 +02:00
|
|
|
- xcopy /Q components\emojidata\img-apple-64 images\emoji\apple
|
2017-09-15 01:05:31 +02:00
|
|
|
- node build\grunt.js
|
2017-05-17 00:49:29 +02:00
|
|
|
- node_modules\.bin\build --em.environment=%SIGNAL_ENV% --publish=never
|
2017-05-06 01:28:27 +02:00
|
|
|
|
2017-05-03 23:43:04 +02:00
|
|
|
test_script:
|
2017-09-15 01:05:31 +02:00
|
|
|
- node build\grunt.js test-release:win
|
|
|
|
- node build\grunt.js test
|
2017-05-03 23:43:04 +02:00
|
|
|
|
2017-05-04 03:21:24 +02:00
|
|
|
artifacts:
|
2017-05-06 01:28:27 +02:00
|
|
|
- path: dist/*.*
|
2017-05-04 03:21:24 +02:00
|
|
|
|
2017-05-05 02:26:51 +02:00
|
|
|
environment:
|
|
|
|
SIGNAL_ENV: production
|
|
|
|
|
2017-05-04 03:21:24 +02:00
|
|
|
deploy:
|
|
|
|
provider: Environment
|
|
|
|
name: signal-desktop-builds
|