Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
tried to add OSX setup on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Dec 28, 2018
1 parent e593f5b commit 85130b0
Showing 1 changed file with 26 additions and 6 deletions.
32 changes: 26 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
language: python
os:
- linux
python:
- 3.6

# Stuff shared by all builds
install:
- python setup.py install

script:
- python -m pytest

matrix:
include:

- language: python
os: linux
python: 3.6

# This is actually a py3.6 + Mac OSX build (with conda).
# The mac + python version pairings for Travis are weird,
# and as of this writing 3.6 isn't supported. For more, see
# https://docs.travis-ci.com/user/multi-os/#python-example-unsupported-languages
- os: osx
language: generic
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-4.3.21-MacOSX-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n testenv python=3.6.1 nose pytest
- source activate testenv

0 comments on commit 85130b0

Please sign in to comment.