pyssb/.travis.yml

40 lines
1.0 KiB
YAML
Raw Normal View History

2017-08-01 17:40:53 +00:00
language: python
2018-10-25 17:19:36 +00:00
matrix:
include:
- os: linux
python: 3.5
dist: xenial
- os: linux
python: 3.6
dist: xenial
- os: linux
python: 3.7
dist: xenial
- os: linux
python: 3.8-dev
dist: xenial
2019-06-14 19:43:33 +00:00
# shamelessly stolen from https://github.com/pyload/pyload
2018-10-25 17:19:36 +00:00
- os: osx
language: sh
2019-06-14 19:43:33 +00:00
env:
- HOMEBREW_NO_INSTALL_CLEANUP=1
- HOMEBREW_NO_ANALYTICS=1
before_cache:
- rm -f "$HOME/Library/Caches/pip/log/debug.log"
cache:
directories:
- "$HOME/Library/Caches/pip"
addons:
homebrew:
packages: python3
2018-10-25 17:19:36 +00:00
before_install:
2019-06-14 19:43:33 +00:00
- python3 -m pip install --upgrade virtualenv
- virtualenv -p python3 --system-site-packages "$HOME/venv"
- source "$HOME/venv/bin/activate"
2017-08-01 17:40:53 +00:00
install:
- pip install .[tests]
- pip install coveralls
script: pytest
after_success:
- coveralls