Skip to content

Commit ef1e8c9

Browse files
committed
💄 Fixed OSX support
1 parent 56b296f commit ef1e8c9

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed

.travis.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
language: python
2-
python:
3-
- "3.4"
4-
- "3.5"
5-
- "3.5-dev" # 3.5 development branch
6-
- "3.6-dev" # 3.6 development branch
7-
- "nightly" # 3.7 development branch
8-
- "pypy3" # pypy3
9-
os:
10-
- "linux"
11-
- "osx"
122
matrix:
3+
include:
4+
- os: linux
5+
python: "3.4"
6+
- os: linux
7+
python: "3.5"
8+
- os: linux
9+
python: "3.5-dev"
10+
- os: linux
11+
python: "3.6-dev"
12+
- os: linux
13+
python: "nightly"
14+
- os: linux
15+
python: "pypy3"
16+
17+
- os: osx
18+
sudo: required
19+
language: generic
20+
1321
allow_failures:
1422
- python: "nightly"
1523
- python: "pypy3"
@@ -18,6 +26,14 @@ addons:
1826
apt:
1927
packages:
2028
- pandoc
29+
before_install: |
30+
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
31+
brew update;
32+
brew install python3 pandoc;
33+
python3 -m venv venv;
34+
source venv/bin/activate;
35+
pip install . test
36+
fi
2137
# command to install dependencies
2238
install:
2339
- "pip install --upgrade pip" # upgrade to latest pip (needed on py3.4)

0 commit comments

Comments
 (0)