d503d1ace3
* Revamp issue and pull request templates, other docs tweaks `yarn test` now runs all of our tests. * Remove generated files from the repository * Update to new Signal support URL * Prevent the 'Test failed 2 == 1' from test-release in CI * Another attempt to fix grunt test-release on Appveyor * grunt test-release: Fail build if test fails * Lint fix, and move jshint earlier in CI process
31 lines
694 B
YAML
31 lines
694 B
YAML
platform:
|
|
- x64
|
|
|
|
cache:
|
|
- '%LOCALAPPDATA%\electron\Cache'
|
|
- node_modules -> package.json
|
|
|
|
install:
|
|
- systeminfo | findstr /C:"OS"
|
|
- set PATH=C:\Ruby23-x64\bin;%PATH%
|
|
- ps: Install-Product node 7.9.0 x64
|
|
- yarn install
|
|
|
|
build_script:
|
|
- yarn eslint
|
|
- yarn test-server
|
|
- yarn lint
|
|
- yarn run icon-gen
|
|
- node build\grunt.js
|
|
- type package.json | findstr /v certificateSubjectName > temp.json
|
|
- move temp.json package.json
|
|
- yarn prepare-build
|
|
- node_modules\.bin\build --em.environment=%SIGNAL_ENV% --publish=never
|
|
|
|
test_script:
|
|
- node build\grunt.js test
|
|
- set NODE_ENV=production
|
|
- node build\grunt.js test-release:win
|
|
|
|
environment:
|
|
SIGNAL_ENV: production
|