ttravis: build binaries if there is a tag (or is master) - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d7fe6a2cf321a06217a1710627d014914fce63d4 DIR parent f66f69d26184fe8c239ad5b72f9cb13c638be6b8 HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 24 Jun 2020 20:00:11 +0200 ttravis: build binaries if there is a tag (or is master) Diffstat: M .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- DIR diff --git a/.travis.yml b/.travis.yml t@@ -43,7 +43,7 @@ jobs: install: pip install flake8 script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - stage: binary builds - if: branch = master + if: (branch = master) OR (tag IS present) name: "Windows build" language: c python: false t@@ -56,7 +56,7 @@ jobs: script: - sudo docker run --name electrum-wine-builder-cont -v $PWD:/opt/wine64/drive_c/electrum --rm --workdir /opt/wine64/drive_c/electrum/contrib/build-wine electrum-wine-builder-img ./build.sh after_success: true - - if: branch = master + - if: (branch = master) OR (tag IS present) name: "Android build" language: python python: 3.7 t@@ -76,7 +76,7 @@ jobs: - ls -la bin - if [ $(ls bin | grep -c Electrum-*) -eq 0 ]; then exit 1; fi after_success: true - - if: branch = master + - if: (branch = master) OR (tag IS present) name: "MacOS build" os: osx language: c t@@ -88,7 +88,7 @@ jobs: script: ./contrib/osx/make_osx after_script: ls -lah dist && md5 dist/* after_success: true - - if: branch = master + - if: (branch = master) OR (tag IS present) name: "AppImage build" language: c python: false t@@ -99,7 +99,7 @@ jobs: script: - sudo docker run --name electrum-appimage-builder-cont -v $PWD:/opt/electrum --rm --workdir /opt/electrum/contrib/build-linux/appimage electrum-appimage-builder-img ./build.sh after_success: true - - if: branch = master + - if: (branch = master) OR (tag IS present) name: "tarball build" language: c python: false