Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated: Travis CI/CD pipeline extended with windows builds #1300

Merged
merged 3 commits into from
Feb 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
65 changes: 65 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,71 @@ matrix:
env: TOXENV=py38
- python: pypy
env: TOXENV=pypy
- name: "Python 2.7 on Windows"
os: windows
language: shell
before_install:
- choco install python2
- python --version
- python -m pip install --upgrade pip
- pip install --upgrade virtualenv wheel
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
env:
- TOXENV=py27
- PATH=/c/Python27:/c/Python27/Scripts:$PATH
- name: "Python 3.5 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.5.4
- python --version
- python -m pip install --upgrade pip
- pip3 install --upgrade virtualenv wheel
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
env:
- TOXENV=py35
- PATH=/c/Python35:/c/Python35/Scripts:$PATH
- name: "Python 3.6 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.6.7
- python --version
- python -m pip install --upgrade pip
- pip3 install --upgrade virtualenv wheel
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
env:
- TOXENV=py36
- PATH=/c/Python36:/c/Python36/Scripts:$PATH
- name: "Python 3.7 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.7.2
- python --version
- python -m pip install --upgrade pip
- pip3 install --upgrade virtualenv wheel
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
env:
- TOXENV=py37
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
- name: "Python 3.8 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.8.0
- python --version
- python -m pip install --upgrade pip
- pip3 install --upgrade virtualenv wheel
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
env:
- TOXENV=py38
- PATH=/c/Python38:/c/Python38/Scripts:$PATH

script: tox

Expand Down
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Internal CI/CD changes:

* Coverage comment in future merge requests disabled [@ssbarnea](https://github.com/ssbarnea) (#1279)
* Fixed Python 3.8 travis tests and setup.py message [@insspb](https://github.com/insspb) (#1295, #1297)
* Travis builds extended with Windows setup for all supported python versions [@insspb](https://github.com/insspb) (#1300, #1301)

Code style and docs changes:

Expand Down
2 changes: 1 addition & 1 deletion tests/test_generate_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test_return_rendered_project_dir():
output_dir='tests/custom_output_dir'
)
assert project_dir == os.path.abspath(
'tests/custom_output_dir/inputpizzä/'
'tests/custom_output_dir/inputpizzä'
)


Expand Down