Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserbdj96 authored Apr 21, 2021
1 parent 555ef40 commit bdc919f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
include:
- name: "Python 3.8.0 on Xenial Linux"
python: 3.8 # this works for Linux but is ignored on macOS or Windows
- name: "Python 3.7.4 on macOS"
- name: "Python 3.8.0 on macOS"
os: osx
osx_image: xcode11.2 # Python 3.7.4 running on macOS 10.14.4
language: shell # 'language: python' is an error on Travis CI macOS
Expand All @@ -15,8 +15,11 @@ jobs:
- python -m pip install --upgrade pip
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
install:
- pip3 install --upgrade pip # all three OSes agree about 'pip3'
- pip3 install selenium
- pip3 install --upgrade pip || pip install --upgrade pip # all three OSes agree about 'pip3'
- pip3 install selenium || pip install selenium
- pip3 install hexor || pip install hexor
- pip3 install imbot || pip install imbot
# 'python' points to Python 2.7 on macOS but points to Python 3.8 on Linux and Windows
# 'python3' is a 'command not found' error on Windows but 'py' works on Windows only
script: python3 imbot/imbot.py || python imbot/imbot.py
script:
- python3 imbot/imbot.py || python imbot/imbot.py

0 comments on commit bdc919f

Please sign in to comment.