Skip to content

Commit

Permalink
Run tests on macOS. Fixes #446. (#451)
Browse files Browse the repository at this point in the history
* Run tests on macOS. Fixes #446.

* Force the link in case it exists.
  • Loading branch information
jaraco authored and obestwalter committed Feb 10, 2017
1 parent 29f207b commit 09948b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis-osx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Perform the manual steps on osx to install python3 and activate an environment
brew update
brew install python3
rm /usr/local/bin/python
ln -s python3 /usr/local/bin/python
ln -fs pip3 /usr/local/bin/pip
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ matrix:
- python: 3.7-dev
- python: nightly
- python: pypy
include:
- os: osx
language: generic
cache: python
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source .travis-osx; fi
install: pip install tox
script: tox -e py

0 comments on commit 09948b0

Please sign in to comment.