Skip to content

Commit

Permalink
move remaining travis build steps into individual files
Browse files Browse the repository at this point in the history
  • Loading branch information
scravy committed Aug 27, 2018
1 parent 272306e commit 506890b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -49,9 +49,9 @@ jobs:
language: python
python: '3.6'
install:
- travis_retry pip install flake8
- source .travis/lint_04_install.sh
before_script:
- git fetch --unshallow
- source .travis/lint_05_before_script.sh
script:
- source .travis/lint_06_script.sh
# ARM
Expand Down
9 changes: 9 additions & 0 deletions .travis/lint_04_install.sh
@@ -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
9 changes: 9 additions & 0 deletions .travis/lint_05_before_script.sh
@@ -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
2 changes: 0 additions & 2 deletions .travis/lint_06_script.sh
Expand Up @@ -3,8 +3,6 @@
# 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.
#
# Check for new lines in diff that introduce trailing whitespace.

export LC_ALL=C

Expand Down

0 comments on commit 506890b

Please sign in to comment.