Skip to content

Commit

Permalink
- removing windows as it does not build because of issue #46
Browse files Browse the repository at this point in the history
~ moving the python versions list to the top to iterate over it for 
linux at least
  • Loading branch information
nicobo committed Jan 20, 2021
1 parent 8d1d110 commit 7902419
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
# See https://docs.travis-ci.com/user/languages/python/#running-python-tests-on-multiple-operating-systems
language: python
python: # this works for Linux but is ignored on macOS or Windows
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
jobs:
include:
- name: "Python x on Xenial Linux"
python: # this works for Linux but is ignored on macOS or Windows
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- name: "Python 3.7 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
- name: "Python 3.8 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.8.0
- python -m pip install --upgrade pip
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
install:
# Generates nicobot/version.py
# 'python' points to Python 2.7 on macOS but points to Python 3.8 on Linux and Windows
Expand Down

0 comments on commit 7902419

Please sign in to comment.