mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-10-05 22:05:46 +01:00
Add OSX to Travis matrix
This commit is contained in:
+20
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user