mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
[#757] Add more Mac tests for each Python version
This commit is contained in:
parent
aa49dc3eb5
commit
52934a78e4
1 changed files with 24 additions and 4 deletions
28
.travis.yml
28
.travis.yml
|
@ -18,6 +18,16 @@ script:
|
|||
- poetry run behave
|
||||
|
||||
aliases:
|
||||
test_mac: &test_mac
|
||||
os: osx
|
||||
language: shell
|
||||
osx_image: xcode11.2
|
||||
before_install:
|
||||
- eval "$(pyenv init -)"
|
||||
- pyenv install -s $JRNL_PYTHON_VERSION
|
||||
- pyenv global $JRNL_PYTHON_VERSION
|
||||
- pip install --upgrade pip
|
||||
- pip --version
|
||||
test_windows: &test_windows
|
||||
os: windows
|
||||
language: shell
|
||||
|
@ -46,10 +56,20 @@ jobs:
|
|||
python: 3.8
|
||||
- name: Python nightly on Linux
|
||||
python: nightly
|
||||
- name: Python 3.7.4 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
|
||||
|
||||
- <<: *test_mac
|
||||
name: Python 3.6 on MacOS
|
||||
env:
|
||||
- JRNL_PYTHON_VERSION=3.6.8
|
||||
- <<: *test_mac
|
||||
name: Python 3.7 on MacOS
|
||||
env:
|
||||
- JRNL_PYTHON_VERSION=3.7.4
|
||||
- <<: *test_mac
|
||||
name: Python 3.8 on MacOS
|
||||
env:
|
||||
- JRNL_PYTHON_VERSION=3.8.0
|
||||
|
||||
- <<: *test_windows
|
||||
name: Python 3.6 on Windows
|
||||
env:
|
||||
|
|
Loading…
Add table
Reference in a new issue