Skip to content

Commit

Permalink
Merge pull request #25 from minrk/mac-test
Browse files Browse the repository at this point in the history
test on mac
  • Loading branch information
minrk authored Dec 12, 2018
2 parents 75ee16a + 89a9de4 commit 088bb99
Showing 1 changed file with 26 additions and 0 deletions.
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

0 comments on commit 088bb99

Please sign in to comment.