mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
travis: build binaries if there is a tag (or is master)
This commit is contained in:
parent
f66f69d261
commit
d7fe6a2cf3
1 changed files with 5 additions and 5 deletions
10
.travis.yml
10
.travis.yml
|
@ -43,7 +43,7 @@ jobs:
|
||||||
install: pip install flake8
|
install: pip install flake8
|
||||||
script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||||
- stage: binary builds
|
- stage: binary builds
|
||||||
if: branch = master
|
if: (branch = master) OR (tag IS present)
|
||||||
name: "Windows build"
|
name: "Windows build"
|
||||||
language: c
|
language: c
|
||||||
python: false
|
python: false
|
||||||
|
@ -56,7 +56,7 @@ jobs:
|
||||||
script:
|
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
|
- 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
|
after_success: true
|
||||||
- if: branch = master
|
- if: (branch = master) OR (tag IS present)
|
||||||
name: "Android build"
|
name: "Android build"
|
||||||
language: python
|
language: python
|
||||||
python: 3.7
|
python: 3.7
|
||||||
|
@ -76,7 +76,7 @@ jobs:
|
||||||
- ls -la bin
|
- ls -la bin
|
||||||
- if [ $(ls bin | grep -c Electrum-*) -eq 0 ]; then exit 1; fi
|
- if [ $(ls bin | grep -c Electrum-*) -eq 0 ]; then exit 1; fi
|
||||||
after_success: true
|
after_success: true
|
||||||
- if: branch = master
|
- if: (branch = master) OR (tag IS present)
|
||||||
name: "MacOS build"
|
name: "MacOS build"
|
||||||
os: osx
|
os: osx
|
||||||
language: c
|
language: c
|
||||||
|
@ -88,7 +88,7 @@ jobs:
|
||||||
script: ./contrib/osx/make_osx
|
script: ./contrib/osx/make_osx
|
||||||
after_script: ls -lah dist && md5 dist/*
|
after_script: ls -lah dist && md5 dist/*
|
||||||
after_success: true
|
after_success: true
|
||||||
- if: branch = master
|
- if: (branch = master) OR (tag IS present)
|
||||||
name: "AppImage build"
|
name: "AppImage build"
|
||||||
language: c
|
language: c
|
||||||
python: false
|
python: false
|
||||||
|
@ -99,7 +99,7 @@ jobs:
|
||||||
script:
|
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
|
- 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
|
after_success: true
|
||||||
- if: branch = master
|
- if: (branch = master) OR (tag IS present)
|
||||||
name: "tarball build"
|
name: "tarball build"
|
||||||
language: c
|
language: c
|
||||||
python: false
|
python: false
|
||||||
|
|
Loading…
Add table
Reference in a new issue