From 92e64c1cbc4c9720047cd316b81bdc062766a9fe Mon Sep 17 00:00:00 2001 From: "Hansi, dl9rdz" Date: Wed, 16 Jun 2021 18:06:51 +0200 Subject: [PATCH] more travis testing: win --- .travis.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 575e739..2163b9e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,14 +7,14 @@ matrix: env: - ELECTRON_CACHE=$HOME/.cache/electron - ELECTRON_BUILD_BACHE=$HOME/.cache/electron-builder -# deploy: -# provider: releases -# api_key: ${GITHUB_API_KEY} -# file: rdzSonde-setup-${TRAVIS_TAG}.exe -# skip_cleanup: true -# overwrite: true -# on: -# tags: true + deploy: + provider: releases + api_key: ${GITHUB_API_KEY} + file: rdzSonde-v${TRAVIS_TAG}.dmg + skip_cleanup: true + overwrite: true + on: + tags: true - os: windows language: node_js @@ -99,12 +99,14 @@ script: - if [ "$TRAVIS_OS_NAME" == "windows" ]; then echo "Windows"; cordova build electron --release; + find platforms mv platforms\electron\build\*.exe rdzSonde-setup-${TRAVIS_TAG}.exe; ls *.exe; fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then echo "OSX"; cordova build electron --release; + mv platforms/electron/build/rdzSonde*.dmg rdzSonde-v${TRAVIS_TAG}.dmg; fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then cordova build --release;