forked from uptake/autofocus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (26 loc) · 953 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Stuff shared by all builds
install:
- pip install ".[dev]"
script:
- ./.ci/travis_checks.sh
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