From 0c39b0631c59bdaf3769de899ed22c8627f84707 Mon Sep 17 00:00:00 2001 From: Valentin Stavetski Date: Tue, 27 Nov 2018 21:31:51 +0300 Subject: [PATCH] update travis config --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3741ee5..bd4a658 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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