Skip to content

Commit 6f06059

Browse files
authored
Force Python 3 tox on Travis CI
pip may point to Python 2 but setup.py requires Python 3. Tox sdist may fail when tox is installed for Python 2 on Travis CI. #362 Signed-off-by: Christian Heimes <cheimes@redhat.com>
1 parent 0890738 commit 6f06059

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ env:
6868
- TOX_TESTENV_PASSENV="CFLAGS CI WITH_GCOV"
6969

7070
install:
71-
- pip install "pip>=7.1.0"
72-
- pip install tox-travis tox codecov
71+
- python3 -m pip install "pip>=7.1.0"
72+
- python3 -m pip install tox-travis tox codecov
7373

74-
script: CFLAGS="$CFLAGS_warnings $CFLAGS_std" tox
74+
script: CFLAGS="$CFLAGS_warnings $CFLAGS_std" python3 -m tox

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy