Skip to content

Commit 506890b

Browse files
committed
move remaining travis build steps into individual files
1 parent 272306e commit 506890b

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
language: python
5050
python: '3.6'
5151
install:
52-
- travis_retry pip install flake8
52+
- source .travis/lint_04_install.sh
5353
before_script:
54-
- git fetch --unshallow
54+
- source .travis/lint_05_before_script.sh
5555
script:
5656
- source .travis/lint_06_script.sh
5757
# ARM

.travis/lint_04_install.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright (c) 2018 The Bitcoin Core developers
4+
# Distributed under the MIT software license, see the accompanying
5+
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6+
7+
export LC_ALL=C
8+
9+
travis_retry pip install flake8

.travis/lint_05_before_script.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright (c) 2018 The Bitcoin Core developers
4+
# Distributed under the MIT software license, see the accompanying
5+
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6+
7+
export LC_ALL=C
8+
9+
git fetch --unshallow

.travis/lint_06_script.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# Copyright (c) 2018 The Bitcoin Core developers
44
# Distributed under the MIT software license, see the accompanying
55
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6-
#
7-
# Check for new lines in diff that introduce trailing whitespace.
86

97
export LC_ALL=C
108

0 commit comments

Comments
 (0)