Skip to content

Commit d74ebe4

Browse files
committed
Travis-CI: Make using python3 explicit
1 parent c89f53d commit d74ebe4

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ addons:
1111
- pandoc
1212
- ffmpeg
1313
install:
14-
- pip install .
15-
- pip install -r tests/requirements.txt
16-
- pip install -r doc/requirements.txt
14+
- python3 --version
15+
- python3 -m pip --version
16+
- python3 -m pip install .
17+
- python3 -m pip install -r tests/requirements.txt
18+
- python3 -m pip install -r doc/requirements.txt
1719
# This is needed in example scripts:
18-
- pip install pillow
20+
- python3 -m pip install pillow
1921
script:
20-
- python -m pytest
21-
- python doc/examples/run_all.py
22+
- python3 -m pytest
23+
- python3 doc/examples/run_all.py
2224
# This executes the example notebooks and runs the doctests:
23-
- python -m sphinx doc/ _build/ -b doctest
25+
- python3 -m sphinx doc/ _build/ -b doctest

0 commit comments

Comments
 (0)