Skip to content
This repository has been archived by the owner on Dec 19, 2020. It is now read-only.

Commit

Permalink
update travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
vbloher committed Nov 27, 2018
1 parent 2bf69e2 commit 0c39b06
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ matrix:
services: docker
language: generic

before_script:
#install yarn globally
- npm install -g yarn
# yarn install is like npm install
- yarn install

script:
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
Expand All @@ -29,7 +35,7 @@ script:
electronuserland/builder:wine \
/bin/bash -c ' CI=false yarn --link-duplicates --pure-lockfile && CI=false yarn run release --publish onTag --linux --win'
else
CI=false yarn run release --publish onTag
CI=false yarn --link-duplicates --pure-lockfile run release --publish onTag
fi
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
Expand Down

0 comments on commit 0c39b06

Please sign in to comment.