Skip to content

Commit d659a6d

Browse files
author
Tatiana Castro-Vélez
authored
Fixing failing travis build (#146)
1 parent 1f47146 commit d659a6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ before_install:
1919
- sudo update-alternatives --auto python3
2020
- sudo apt install -y python3.10-distutils
2121
- curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
22+
- export PATH=`echo $PATH | tr ":" "\n" | grep -v "/opt/pyenv/shims" | tr "\n" ":"` # Removing pyenv path from PATH which was being used by command python3.
23+
- export PATH=`echo $PATH | tr ":" "\n" | grep -v "/home/travis/.phpenv/shims" | tr "\n" ":"` # Removing the remaining pyenv path from PATH to make sure we are not using pyenv.
24+
- PATH="$PATH:/usr/bin/python3.10" # Adding our Python version to PATH.
2225
services:
2326
- xvfb
2427
install:

0 commit comments

Comments
 (0)