electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 3902d774f7ced2311ab07e5309dac2eeff2af0c7
parent 8404e0706191b8dcca7d1c5ed37c947594606904
Author: SomberNight <somber.night@protonmail.com>
Date:   Sun,  1 Sep 2019 20:12:25 +0200

(trivial) travis: move flake8 tests to first stage

Diffstat:
M.travis.yml | 20++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/.travis.yml b/.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