Skip to content

Commit 519e273

Browse files
committed
move lint stage up to resemble travis build ui
adjust indentation to 2 spaces
1 parent 86d34f0 commit 519e273

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

.travis.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ language: minimal
55
cache:
66
ccache: true
77
directories:
8-
- depends/built
9-
- depends/sdk-sources
10-
- $HOME/.ccache
8+
- depends/built
9+
- depends/sdk-sources
10+
- $HOME/.ccache
1111
stages:
1212
- lint
1313
- test
@@ -37,10 +37,23 @@ before_script:
3737
script:
3838
- source .travis/script.sh
3939
after_script:
40-
- echo $TRAVIS_COMMIT_RANGE
41-
- echo $TRAVIS_COMMIT_LOG
40+
- echo $TRAVIS_COMMIT_RANGE
41+
- echo $TRAVIS_COMMIT_LOG
4242
jobs:
4343
include:
44+
# lint stage
45+
- stage: lint
46+
env:
47+
sudo: false
48+
cache: false
49+
language: python
50+
python: '3.6'
51+
install:
52+
- travis_retry pip install flake8
53+
before_script:
54+
- git fetch --unshallow
55+
script:
56+
- source .travis/lint.sh
4457
# ARM
4558
- stage: test
4659
env: >-
@@ -121,15 +134,3 @@ jobs:
121134
RUN_FUNCTIONAL_TESTS=false
122135
GOAL="all deploy"
123136
BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror"
124-
- stage: lint
125-
env:
126-
sudo: false
127-
cache: false
128-
language: python
129-
python: '3.6'
130-
install:
131-
- travis_retry pip install flake8
132-
before_script:
133-
- git fetch --unshallow
134-
script:
135-
- source .travis/lint.sh

0 commit comments

Comments
 (0)