Improve OSX config
This commit is contained in:
parent
3ce46291b3
commit
734fe59663
22
.travis.yml
22
.travis.yml
@ -13,16 +13,24 @@ matrix:
|
|||||||
- os: linux
|
- os: linux
|
||||||
python: 3.8-dev
|
python: 3.8-dev
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
# shamelessly stolen from https://github.com/pyload/pyload
|
||||||
- os: osx
|
- os: osx
|
||||||
language: sh
|
language: sh
|
||||||
|
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
|
||||||
before_install:
|
before_install:
|
||||||
- brew update
|
- python3 -m pip install --upgrade virtualenv
|
||||||
- brew info python@3
|
- virtualenv -p python3 --system-site-packages "$HOME/venv"
|
||||||
- brew upgrade python@3
|
- source "$HOME/venv/bin/activate"
|
||||||
install:
|
|
||||||
- pip3 install .[tests]
|
|
||||||
- pip3 install coveralls
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install .[tests]
|
- pip install .[tests]
|
||||||
- pip install coveralls
|
- pip install coveralls
|
||||||
|
Loading…
Reference in New Issue
Block a user