diff options
author | Seth Morton <seth.m.morton@gmail.com> | 2019-02-26 21:10:20 -0800 |
---|---|---|
committer | Seth Morton <seth.m.morton@gmail.com> | 2019-02-26 21:10:20 -0800 |
commit | 1bdde2c98edd73e10f90c08c7c21b3399b318691 (patch) | |
tree | d3cf235a87937019e9393d77efa498e8096fa6ac | |
parent | 4ccde98f95f1ff5401d500e5ffae2e33f733612d (diff) | |
download | natsort-1bdde2c98edd73e10f90c08c7c21b3399b318691.tar.gz |
First attempt at adding Windows support for Travis-CI
-rw-r--r-- | .travis.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index acda714..23f5846 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,6 +52,30 @@ jobs: - 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 + # This "code-quality" stage does static analysis and formatting checks. # Platform- and Python-version-independent. - stage: code-quality |