mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 02:46:59 +00:00
30 lines
751 B
YAML
30 lines
751 B
YAML
language: python
|
|
dist: xenial # required for Python >= 3.7
|
|
matrix:
|
|
include:
|
|
- stage: test
|
|
- os: windows
|
|
language: sh
|
|
python: "3.7"
|
|
before_install:
|
|
- choco install python3
|
|
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
|
|
- python -m pip install virtualenv
|
|
- ls -la /c/Python37/Scripts
|
|
- virtualenv $HOME/venv
|
|
- source $HOME/venv/Scripts/activate
|
|
# command to install dependencies
|
|
install:
|
|
- pip install .[test]
|
|
# command to run tests
|
|
script:
|
|
- tox
|
|
# Push the results back to codecov
|
|
after_success:
|
|
- codecov
|
|
|
|
notifications:
|
|
email:
|
|
on_success: never
|
|
on_failure: always
|
|
|