Run all build steps in CI
This commit is contained in:
parent
15759f0db5
commit
cb09da0f63
4 changed files with 7 additions and 6 deletions
|
@ -2,16 +2,19 @@
|
||||||
# supports `.gitignore`: https://github.com/prettier/prettier/issues/2294
|
# supports `.gitignore`: https://github.com/prettier/prettier/issues/2294
|
||||||
|
|
||||||
# Generated files
|
# Generated files
|
||||||
|
config/local-*.json
|
||||||
|
config/local.json
|
||||||
dist/**
|
dist/**
|
||||||
js/components.js
|
js/components.js
|
||||||
js/libsignal-protocol-worker.js
|
js/libsignal-protocol-worker.js
|
||||||
js/libtextsecure.js
|
js/libtextsecure.js
|
||||||
libtextsecure/components.js
|
libtextsecure/components.js
|
||||||
libtextsecure/test/test.js
|
libtextsecure/test/test.js
|
||||||
|
stylesheets/*.css
|
||||||
test/test.js
|
test/test.js
|
||||||
ts/**/*.js
|
ts/**/*.js
|
||||||
ts/protobuf/*.js
|
|
||||||
ts/protobuf/*.d.ts
|
ts/protobuf/*.d.ts
|
||||||
|
ts/protobuf/*.js
|
||||||
|
|
||||||
# Third-party files
|
# Third-party files
|
||||||
components/**
|
components/**
|
||||||
|
|
|
@ -7,11 +7,10 @@ dist: trusty
|
||||||
install:
|
install:
|
||||||
- yarn install --frozen-lockfile
|
- yarn install --frozen-lockfile
|
||||||
script:
|
script:
|
||||||
- yarn transpile
|
- yarn generate
|
||||||
- yarn lint
|
- yarn lint
|
||||||
- yarn test-node
|
- yarn test-node
|
||||||
- yarn nsp check
|
- yarn nsp check
|
||||||
- yarn generate
|
|
||||||
- yarn prepare-beta-build
|
- yarn prepare-beta-build
|
||||||
- $(yarn bin)/build --config.extraMetadata.environment=$SIGNAL_ENV --config.mac.bundleVersion='$TRAVIS_BUILD_NUMBER' --publish=never
|
- $(yarn bin)/build --config.extraMetadata.environment=$SIGNAL_ENV --config.mac.bundleVersion='$TRAVIS_BUILD_NUMBER' --publish=never
|
||||||
- ./travis.sh
|
- ./travis.sh
|
||||||
|
|
|
@ -12,11 +12,10 @@ install:
|
||||||
- yarn install --frozen-lockfile
|
- yarn install --frozen-lockfile
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- yarn transpile
|
- yarn generate
|
||||||
- yarn lint-windows
|
- yarn lint-windows
|
||||||
- yarn test-node
|
- yarn test-node
|
||||||
- yarn nsp check
|
- yarn nsp check
|
||||||
- yarn generate
|
|
||||||
- node build\grunt.js
|
- node build\grunt.js
|
||||||
- type package.json | findstr /v certificateSubjectName > temp.json
|
- type package.json | findstr /v certificateSubjectName > temp.json
|
||||||
- move temp.json package.json
|
- move temp.json package.json
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"grunt": "grunt",
|
"grunt": "grunt",
|
||||||
"icon-gen": "electron-icon-maker --input=images/icon_1024.png --output=./build",
|
"icon-gen": "electron-icon-maker --input=images/icon_1024.png --output=./build",
|
||||||
"generate": "npm run icon-gen && grunt",
|
"generate": "yarn icon-gen && yarn grunt",
|
||||||
"build": "build --config.extraMetadata.environment=$SIGNAL_ENV",
|
"build": "build --config.extraMetadata.environment=$SIGNAL_ENV",
|
||||||
"build-release": "SIGNAL_ENV=production npm run build -- --config.directories.output=release",
|
"build-release": "SIGNAL_ENV=production npm run build -- --config.directories.output=release",
|
||||||
"build-protobuf": "pbjs --target static-module --wrap commonjs --out ts/protobuf/SignalService.js protos/SignalService.proto && pbts --out ts/protobuf/SignalService.d.ts ts/protobuf/SignalService.js",
|
"build-protobuf": "pbjs --target static-module --wrap commonjs --out ts/protobuf/SignalService.js protos/SignalService.proto && pbts --out ts/protobuf/SignalService.d.ts ts/protobuf/SignalService.js",
|
||||||
|
|
Loading…
Reference in a new issue