2018-03-08 00:03:45 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
2018-08-31 14:54:34 +02:00
|
|
|
- os: osx
|
|
|
|
env: TARGET=mac
|
|
|
|
osx_image: xcode9.2
|
|
|
|
language: node_js
|
|
|
|
node_js: '9'
|
|
|
|
- os: linux
|
|
|
|
env: TARGET=windows
|
|
|
|
services: docker
|
|
|
|
language: node_js
|
|
|
|
node_js: '9'
|
|
|
|
- os: linux
|
|
|
|
env: TARGET=linux
|
|
|
|
language: node_js
|
|
|
|
node_js: '9'
|
2018-05-10 00:00:48 +02:00
|
|
|
cache: false
|
2018-03-08 00:03:45 +01:00
|
|
|
before_install:
|
2018-08-31 14:54:34 +02:00
|
|
|
- |
|
2018-08-31 17:09:44 +02:00
|
|
|
unset TRAVIS_COMMIT_MESSAGE;
|
2018-08-31 14:54:34 +02:00
|
|
|
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
|
|
|
|
mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v2.3.1/git-lfs-$([ "$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-2.3.1.tar.gz | tar -xz -C /tmp/git-lfs --strip-components 1
|
|
|
|
export PATH="/tmp/git-lfs:$PATH"
|
|
|
|
else
|
|
|
|
sudo apt-get -qq update
|
|
|
|
sudo apt-get install -y libsecret-1-dev
|
|
|
|
sudo apt-get install --no-install-recommends -y gcc-multilib g++-multilib
|
|
|
|
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.6.0
|
|
|
|
export PATH="$HOME/.yarn/bin:$PATH"
|
|
|
|
fi
|
2018-03-08 00:03:45 +01:00
|
|
|
before_script:
|
2018-08-31 14:54:34 +02:00
|
|
|
- git lfs pull
|
2017-06-21 20:33:32 +02:00
|
|
|
script:
|
2018-08-31 14:54:34 +02:00
|
|
|
- |
|
|
|
|
if [ "$TARGET" == "windows" ]; then
|
|
|
|
docker run --rm \
|
|
|
|
--env-file <(env | grep -iE 'DEBUG|TARGET|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \
|
|
|
|
-v ${PWD}:/project \
|
|
|
|
electronuserland/builder:wine \
|
|
|
|
/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
|
2018-03-08 00:03:45 +01:00
|
|
|
addons:
|
2018-03-08 15:29:26 +01:00
|
|
|
artifacts:
|
2018-03-08 16:45:40 +01:00
|
|
|
working_dir: dist
|
2018-03-08 15:29:26 +01:00
|
|
|
paths:
|
2018-08-31 14:54:34 +02:00
|
|
|
- $(git ls-files -o dist/{*.dmg,*.exe,*.deb} | tr "\n" ":")
|
2018-03-08 16:30:57 +01:00
|
|
|
target_paths:
|
2018-08-31 14:54:34 +02:00
|
|
|
- "/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/wC7nHvaMRypMjFQvFwRgN9jssPfc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