move remaining travis build steps into individual files

This commit is contained in:
Julian Fleischer 2018-08-03 17:34:25 +02:00
parent 272306ea57
commit 506890b24d
4 changed files with 20 additions and 4 deletions

View file

@ -49,9 +49,9 @@ jobs:
language: python language: python
python: '3.6' python: '3.6'
install: install:
- travis_retry pip install flake8 - source .travis/lint_04_install.sh
before_script: before_script:
- git fetch --unshallow - source .travis/lint_05_before_script.sh
script: script:
- source .travis/lint_06_script.sh - source .travis/lint_06_script.sh
# ARM # ARM

9
.travis/lint_04_install.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C
travis_retry pip install flake8

View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C
git fetch --unshallow

View file

@ -3,8 +3,6 @@
# Copyright (c) 2018 The Bitcoin Core developers # Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying # Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php. # file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
# Check for new lines in diff that introduce trailing whitespace.
export LC_ALL=C export LC_ALL=C