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

test on mac #25

Merged
merged 4 commits into from
Dec 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,35 @@ python:
branches:
only:
- master
before_install:
- |
# setup mac virtualenv
if [[ $(uname) == "Darwin" ]]; then
brew install python
python3 -m pip install virtualenv
virtualenv -p $(which python$PY) ./test-env
source ./test-env/bin/activate
fi
install:
- pip install . -r dev-requirements.txt
- pip freeze
script:
- py.test --cov wurlitzer test.py
after_success:
- codecov
env:
global:
- HOMEBREW_NO_AUTO_UPDATE=1
matrix:
include:
- os: osx
language: generic
env:
- PY=2
- os: osx
language: generic
env:
- PY=3
- os: linux
dist: xenial
python: 3.7