add encrypted env vars
let travis format .travis.yml
This commit is contained in:
parent
fb3097a739
commit
5f31e78b6b
1 changed files with 54 additions and 38 deletions
26
.travis.yml
26
.travis.yml
|
@ -4,16 +4,16 @@ matrix:
|
|||
env: TARGET=mac
|
||||
osx_image: xcode9.2
|
||||
language: node_js
|
||||
node_js: "9"
|
||||
node_js: '9'
|
||||
- os: linux
|
||||
env: TARGET=windows
|
||||
services: docker
|
||||
language: node_js
|
||||
node_js: "9"
|
||||
node_js: '9'
|
||||
- os: linux
|
||||
env: TARGET=linux
|
||||
language: node_js
|
||||
node_js: "9"
|
||||
node_js: '9'
|
||||
cache: false
|
||||
before_install:
|
||||
- |
|
||||
|
@ -39,11 +39,27 @@ script:
|
|||
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn build --win --publish onTag";
|
||||
fi
|
||||
- if [ "$TARGET" == "mac" ]; then yarn build --publish onTag; fi
|
||||
- if [ "$TARGET" == "linux" ]; then yarn --link-duplicates --pure-lockfile && yarn build --linux --publish onTag; fi
|
||||
- if [ "$TARGET" == "linux" ]; then yarn --link-duplicates --pure-lockfile && yarn
|
||||
build --linux --publish onTag; fi
|
||||
addons:
|
||||
artifacts:
|
||||
working_dir: dist
|
||||
paths:
|
||||
- $(git ls-files -o dist/{*.dmg,*.exe,*.deb} | tr "\n" ":")
|
||||
target_paths:
|
||||
- /app/build-${TRAVIS_BUILD_NUMBER}_commit-${TRAVIS_COMMIT:0:7}$([ ! -z ${TRAVIS_TAG} ] && echo _tag-${TRAVIS_TAG})
|
||||
- "/app/build-${TRAVIS_BUILD_NUMBER}_commit-${TRAVIS_COMMIT:0:7}$([ ! -z ${TRAVIS_TAG}
|
||||
] && echo _tag-${TRAVIS_TAG})"
|
||||
env:
|
||||
global:
|
||||
- ARTIFACTS_REGION=us-east-1
|
||||
- ARTIFACTS_BUCKET=build.lbry.io
|
||||
- DANGER_GITHUB_API_TOKEN=f8b612049cbda985c251e18ae36c7a2b9c6c92df
|
||||
- ARTIFACTS_DEBUG=1
|
||||
- WIN_CSC_LINK=https://s3.amazonaws.com/files.lbry.io/csc-lbry-2018-2019-08.p12
|
||||
- CSC_LINK=https://s3.amazonaws.com/files.lbry.io/cert/osx-cert.p12
|
||||
- secure: ZwXw3DZKmVDgLh9wAmy7N2FXBYjwIGt+Th/68fvniJ6WQ/wC7nHvaMRypMjFQvFwRgN9jssPfcameXQr8Gkj1Filu8TAj1wMJCGPV/qX62IpulGp3RASRjtoJlS3tiyO4VNScIYomTjOBxu7OmdX4j71hVk/3VctYHBaxNAA1jLYPW7nxMjg0gu30O3dTN2VdDM5hfF62jb53xQBMsbS0ALvnVqZb1hkS4VkxvNEFWjUg+jiKrVZlTOHrJUPGuaCTGiK4q57dXdn33m592oHh60cp8AsRq0rGukSliSbQWDLgmBGZtfI4wrhVI/m+vVOvYmMG9TqExSKCXCy5vGRCkMQG1bT/CY4viPhL++Wf3q3HWUKqWtMUNAfhsXRffRNoXFZv5ramXmw5jZigQgwVS2kJGvVH+8qYFOCl6oi12k7Pf0IiAXHWKBrNunP9X7m3QInXfuL39euW2dS89+sslAMc7k+cBza935X3hXU+rAjameMu/NZxJSdyEUM2AbJ+j7CcKBFbEeruXS3zDQErCcpyAJ58E1HQnbJMXvzKe4MHW7c+9ZU+o+4cRf2+wOeAoS4FxgqR0w9rYQrVXUoiaQ7Vv1Ovae0nLK8b+ILAsCcj8gxqeRPmloiK3XSYF4KWMFZRlzo3nri6/frwL5MrQemznnKEs3vz3tyxESBNRk=
|
||||
- secure: Wdl8K89veg/znuAFM7CxusZlzVv7KFivG3d3J7iK95oYfYJLgoGHS9VkiVk2Rcbq/P2mRKEFX/Oa+einHBaKKvqQ5GNoxyBcIIbzT8ZPQBjYJYY2VrxyxJD3uJQCVK0XeHUxuEd/WCmPUuOVW7iGzE2IiU55DEEcUQoEsrE8U9GqF9S0tKzrV+OuM4vg1oLUrW8HBk5HHvZhcKvY4Fz1/lZXODwYAfFfEHgLLk0xstLY0zRH7EZ0BP+ELPsPc+x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