add travis dependency

This commit is contained in:
Niko Storni 2018-05-08 14:17:49 -04:00
parent ea64c7f9bb
commit fc56b9c914
No known key found for this signature in database
GPG key ID: F37FE63398800368

View file

@ -18,6 +18,8 @@ cache:
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libsecret-1-dev
- |
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
@ -48,4 +50,4 @@ addons:
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})