commit d7fe6a2cf321a06217a1710627d014914fce63d4
parent f66f69d26184fe8c239ad5b72f9cb13c638be6b8
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 24 Jun 2020 20:00:11 +0200
travis: build binaries if there is a tag (or is master)
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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