signal-desktop/.travis.yml

29 lines
920 B
YAML

language: node_js
node_js:
- '8.2.1'
os:
- linux
dist: trusty
install:
- yarn install --frozen-lockfile
script:
- yarn nsp check
- yarn run generate
- yarn prepare-beta-build
- yarn eslint
- yarn test-server
- yarn lint
- $(yarn bin)/build --config.extraMetadata.environment=$SIGNAL_ENV --config.mac.bundleVersion='$TRAVIS_BUILD_NUMBER' --publish=never
- ./travis.sh
env:
global:
- SIGNAL_ENV: production
- secure: LeXDynRSyeHXR9KdmhYuP/zsc8uFsnYoOWI3fqg8x5SLOilfDyQ766idkT9NTRrdSR8WY7wP4DPs3hrBWGmcVq7BhytI9Q34YSgGS/Sds0jlm5AzSpYfAHpSQ+9ufQXNKN6lgxTkupdsWlc2Em20wUd5EfluDSOoeWVMlqHmKrw=
- secure: WzXjaiy6BmEyKI3uXeanjbAlmzadlwIWxJbC7Mff2duIl/nsaOTK6ElYu23IfeBCvK1DxXV8DVUfTIZXkeFeqHKPtgq2t3HcS12YiNnb7ToGpgOpzElYY4wAOPxRbqPE/ZcthbSxo1x/thgDeWNWxqK1X4XJ3qEIRoE+tPsGKG8=
sudo: false
notifications:
email: false
addons:
artifacts:
paths:
- $(ls ./dist/*.* | tr "\n" ":")