Ensure MacOS pyenv is up to date and attempt to reference Windows python3 directly

This commit is contained in:
Micah Jerome Ellison 2020-08-08 13:37:21 -07:00
parent d62c6a1248
commit 7933a52618

View file

@ -117,6 +117,7 @@ jobs:
- <<: *test_mac - <<: *test_mac
name: Python 3.9 on MacOS name: Python 3.9 on MacOS
before_install: before_install:
- brew upgrade pyenv
- eval "$(pyenv init -)" - eval "$(pyenv init -)"
- pyenv install -s $JRNL_PYTHON_VERSION - pyenv install -s $JRNL_PYTHON_VERSION
- pyenv global $JRNL_PYTHON_VERSION - pyenv global $JRNL_PYTHON_VERSION
@ -130,11 +131,10 @@ jobs:
name: Python 3.9 on Windows name: Python 3.9 on Windows
before_install: before_install:
- choco install python --pre - choco install python --pre
- refreshenv - C:\ProgramData\chocolatey\bin\python3 -m pip install --upgrade pip
- python -m pip install --upgrade pip
- pip --version - pip --version
- pip install toml - pip install toml
- python .build/allow_all_python_version.py - C:\ProgramData\chocolatey\bin\python3 .build/allow_all_python_version.py
env: env:
<<: *env_windows <<: *env_windows
JRNL_PYTHON_VERSION: 3.9.0b5 JRNL_PYTHON_VERSION: 3.9.0b5