Skip to content

Commit 09948b0

Browse files
jaracoobestwalter
authored andcommitted
Run tests on macOS. Fixes #446. (#451)
* Run tests on macOS. Fixes #446. * Force the link in case it exists.
1 parent 29f207b commit 09948b0

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.travis-osx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Perform the manual steps on osx to install python3 and activate an environment
2+
brew update
3+
brew install python3
4+
rm /usr/local/bin/python
5+
ln -s python3 /usr/local/bin/python
6+
ln -fs pip3 /usr/local/bin/pip

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ matrix:
1616
- python: 3.7-dev
1717
- python: nightly
1818
- python: pypy
19+
include:
20+
- os: osx
21+
language: generic
1922
cache: python
23+
before_install:
24+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source .travis-osx; fi
2025
install: pip install tox
2126
script: tox -e py

0 commit comments

Comments
 (0)