aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJulian Fleischer <tirednesscankill@warhog.net>2018-08-03 15:39:05 +0200
committerJulian Fleischer <tirednesscankill@warhog.net>2018-08-27 12:23:25 +0200
commit519e2739cf6fac98ec24888b36b011f1c6b98bbc (patch)
tree11f93ac76343ff84c92ab4d65cb0ffc22dafac32 /.travis.yml
parent86d34f0e657e039843ff264358e77ffb2763803f (diff)
move lint stage up to resemble travis build ui
adjust indentation to 2 spaces
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml35
1 files changed, 18 insertions, 17 deletions
diff --git a/.travis.yml b/.travis.yml
index 4ee73bda9a..d2084f2d5c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,9 +5,9 @@ language: minimal
cache:
ccache: true
directories:
- - depends/built
- - depends/sdk-sources
- - $HOME/.ccache
+ - depends/built
+ - depends/sdk-sources
+ - $HOME/.ccache
stages:
- lint
- test
@@ -37,10 +37,23 @@ before_script:
script:
- source .travis/script.sh
after_script:
- - echo $TRAVIS_COMMIT_RANGE
- - echo $TRAVIS_COMMIT_LOG
+ - echo $TRAVIS_COMMIT_RANGE
+ - echo $TRAVIS_COMMIT_LOG
jobs:
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
- stage: test
env: >-
@@ -121,15 +134,3 @@ jobs:
RUN_FUNCTIONAL_TESTS=false
GOAL="all deploy"
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