Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Silence travis-ci build warnings by removing non-functional python3.6 (
Browse files Browse the repository at this point in the history
…#4377)

* Remove non-functional python3.6 in travis env

* changelog
  • Loading branch information
richvdh authored and hawkowl committed Jan 11, 2019
1 parent a35c66a commit 34b25dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ matrix:

install:
- pip install tox

# if we don't have python3.6 in this environment, travis unhelpfully gives us
# a `python3.6` on our path which does nothing but spit out a warning. Tox
# tries to run it (even if we're not running a py36 env), so the build logs
# then have warnings which look like errors. To reduce the noise, remove the
# non-functional python3.6.
- ( ! command -v python3.6 || python3.6 --version ) &>/dev/null || rm -f $(command -v python3.6)

script:
- tox -e $TOX_ENV
1 change: 1 addition & 0 deletions changelog.d/4377.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Silence travis-ci build warnings by removing non-functional python3.6

0 comments on commit 34b25dc

Please sign in to comment.