wexpect-venv/.travis.yml

30 lines
751 B
YAML
Raw Normal View History

2019-09-04 10:58:38 +00:00
language: python
2019-09-04 08:36:49 +00:00
dist: xenial # required for Python >= 3.7
matrix:
include:
2019-09-04 10:58:38 +00:00
- stage: test
- os: windows
language: sh
python: "3.7"
before_install:
- choco install python3
2019-09-04 09:51:09 +00:00
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
- python -m pip install virtualenv
2019-09-04 09:12:53 +00:00
- ls -la /c/Python37/Scripts
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
2019-09-05 14:30:45 +00:00
# command to install dependencies
install:
- pip install .[test]
# command to run tests
script:
- tox
# Push the results back to codecov
after_success:
- codecov
2019-09-04 08:36:49 +00:00
notifications:
email:
on_success: never
on_failure: always