move lint stage up to resemble travis build ui

adjust indentation to 2 spaces
This commit is contained in:
Julian Fleischer 2018-08-03 15:39:05 +02:00
parent 86d34f0e65
commit 519e2739cf

View file

@ -5,9 +5,9 @@ language: minimal
cache: cache:
ccache: true ccache: true
directories: directories:
- depends/built - depends/built
- depends/sdk-sources - depends/sdk-sources
- $HOME/.ccache - $HOME/.ccache
stages: stages:
- lint - lint
- test - test
@ -37,10 +37,23 @@ before_script:
script: script:
- source .travis/script.sh - source .travis/script.sh
after_script: after_script:
- echo $TRAVIS_COMMIT_RANGE - echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG - echo $TRAVIS_COMMIT_LOG
jobs: jobs:
include: include:
# lint stage
- stage: lint
env:
sudo: false
cache: false
language: python
python: '3.6'
install:
- travis_retry pip install flake8
before_script:
- git fetch --unshallow
script:
- source .travis/lint.sh
# ARM # ARM
- stage: test - stage: test
env: >- env: >-
@ -121,15 +134,3 @@ jobs:
RUN_FUNCTIONAL_TESTS=false RUN_FUNCTIONAL_TESTS=false
GOAL="all deploy" GOAL="all deploy"
BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror"
- stage: lint
env:
sudo: false
cache: false
language: python
python: '3.6'
install:
- travis_retry pip install flake8
before_script:
- git fetch --unshallow
script:
- source .travis/lint.sh