Add OSX to Travis matrix

This commit is contained in:
gfyoung
2017-06-28 21:18:50 -07:00
parent fdc9b6a92d
commit d1ecc7bdd6
5 changed files with 65 additions and 8 deletions
+20 -8
View File
@@ -1,21 +1,33 @@
notifications:
email: false
language: python
language: generic
sudo: false
cache:
directories:
- $HOME/.cache/pip
- $HOME/miniconda3
python:
- "2.7"
- "3.6"
before_cache:
- rm -rf $HOME/miniconda3/pkgs/cache
- rm -rf $HOME/miniconda3/envs/hosts
os:
- linux
- osx
env:
- PYTHON_VERSION="2.7"
- PYTHON_VERSION="3.6"
before_install:
- export PATH="$HOME/miniconda3/bin:$PATH"
install:
pip install flake8 mock nose
- ci/install_conda.sh
- ci/install_conda_env.sh
script:
- nosetests
- flake8
- ci/test_repo.sh
- ci/lint_repo.sh