mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
(trivial) travis: move flake8 tests to first stage
This commit is contained in:
parent
8404e07061
commit
3902d774f7
1 changed files with 10 additions and 10 deletions
20
.travis.yml
20
.travis.yml
|
@ -26,7 +26,7 @@ after_success:
|
|||
- coveralls
|
||||
jobs:
|
||||
include:
|
||||
- name: "Regtest"
|
||||
- name: "Regtest functional tests"
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:bitcoin/bitcoin
|
||||
- sudo apt-get -qq update
|
||||
|
@ -40,8 +40,12 @@ jobs:
|
|||
script:
|
||||
- python -m unittest electrum/tests/regtest.py
|
||||
after_success: True
|
||||
- if: branch = master # don't build binaries on lightning branch
|
||||
stage: binary builds
|
||||
- name: "Flake8 linter tests"
|
||||
language: python
|
||||
install: pip install flake8
|
||||
script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
- stage: binary builds
|
||||
if: branch = master
|
||||
name: "Windows build"
|
||||
language: c
|
||||
python: false
|
||||
|
@ -54,7 +58,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 # don't build binaries on lightning branch
|
||||
- if: branch = master
|
||||
name: "Android build"
|
||||
language: python
|
||||
python: 3.7
|
||||
|
@ -76,7 +80,7 @@ jobs:
|
|||
- ls -la bin
|
||||
- if [ $(ls bin | grep -c Electrum-*) -eq 0 ]; then exit 1; fi
|
||||
after_success: true
|
||||
- if: branch = master # don't build binaries on lightning branch
|
||||
- if: branch = master
|
||||
name: "MacOS build"
|
||||
os: osx
|
||||
language: c
|
||||
|
@ -88,7 +92,7 @@ jobs:
|
|||
script: ./contrib/osx/make_osx
|
||||
after_script: ls -lah dist && md5 dist/*
|
||||
after_success: true
|
||||
- if: branch = master # don't build binaries on lightning branch
|
||||
- if: branch = master
|
||||
name: "AppImage build"
|
||||
language: c
|
||||
python: false
|
||||
|
@ -99,10 +103,6 @@ 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
|
||||
- name: "Flake8 tests"
|
||||
language: python
|
||||
install: pip install flake8
|
||||
script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
- stage: release check
|
||||
install:
|
||||
- git fetch --all --tags
|
||||
|
|
Loading…
Add table
Reference in a new issue