fix linux build

This commit is contained in:
Sean Yesmunt 2018-05-09 18:00:48 -04:00
parent 370c8da6d7
commit 3056829147
3 changed files with 275 additions and 286 deletions

View file

@ -9,21 +9,19 @@ matrix:
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- os: linux
services: docker
language: generic
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
cache:
directories:
- node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
language: node_js
node_js: "9"
cache: false
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
export PATH="/tmp/git-lfs:$PATH"
else
sudo apt-get -qq update
sudo apt-get install -y libsecret-1-dev
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.6.0
export PATH="$HOME/.yarn/bin:$PATH"
fi
before_script:
- git lfs pull
@ -40,7 +38,6 @@ script:
else
yarn build --publish onTag
fi
- yarn danger ci
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"

View file

@ -94,7 +94,7 @@
"del": "^3.0.0",
"devtron": "^1.4.0",
"electron": "^1.8.4",
"electron-builder": "^20.8.1",
"electron-builder": "^20.13.3",
"electron-devtools-installer": "^2.2.3",
"electron-webpack": "^1.13.0",
"eslint": "^4.19.0",

540
yarn.lock

File diff suppressed because it is too large Load diff