diff options
author | Seth Morton <seth.m.morton@gmail.com> | 2019-02-26 21:23:30 -0800 |
---|---|---|
committer | Seth Morton <seth.m.morton@gmail.com> | 2019-02-26 21:23:30 -0800 |
commit | 894ac05d3b96f48892a608f48fcf727b6123a8b5 (patch) | |
tree | 290a1e15fbf53a2c698ca4e90ae7fb9eaf348169 | |
parent | 1bdde2c98edd73e10f90c08c7c21b3399b318691 (diff) | |
download | natsort-894ac05d3b96f48892a608f48fcf727b6123a8b5.tar.gz |
Re-implement windows CI to use choco
I had forgotton that pyenv does not support Windows
-rw-r--r-- | .travis.yml | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml index 23f5846..8590f9e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,8 +38,7 @@ jobs: - language-pack-de - language-pack-en - # For MacOS, only run Python 3.7 without "icu" because native locale - # handling is poor on MacOS and should be validated. + # For MacOS and Windows, only run Python 3.7 without "icu" to test native locales - python: "3.7" language: sh os: osx @@ -51,30 +50,15 @@ jobs: - export PYENV_VERSION_STRING="Python ${PYENV_VERSION}" - wget https://github.com/praekeltfoundation/travis-pyenv/releases/download/0.4.0/setup-pyenv.sh - source setup-pyenv.sh - - # For Windows, only run Python 3.7 with and without "icu" because locals are different on Windows. - python: "3.7" language: sh os: windows env: - WITH_EXTRAS="" - TOXENV=py37 - - PYENV_VERSION="3.7.1" before_install: - - export PYENV_VERSION_STRING="Python ${PYENV_VERSION}" - - wget https://github.com/praekeltfoundation/travis-pyenv/releases/download/0.4.0/setup-pyenv.sh - - source setup-pyenv.sh - - python: "3.7" - language: sh - os: windows - env: - - WITH_EXTRAS="icu" - - TOXENV=py37 - - PYENV_VERSION="3.7.1" - before_install: - - export PYENV_VERSION_STRING="Python ${PYENV_VERSION}" - - wget https://github.com/praekeltfoundation/travis-pyenv/releases/download/0.4.0/setup-pyenv.sh - - source setup-pyenv.sh + - choco install python --version 3.7.1 + - export PATH="/c/Python37:/c/Python37/Scripts:$PATH" # This "code-quality" stage does static analysis and formatting checks. # Platform- and Python-version-independent. |