Attempt 2 to test on travis OS X

This commit is contained in:
mpeterv 2016-03-20 22:37:03 +03:00
parent 23d0adf4d9
commit 907e4cdd47

View File

@ -1,23 +1,30 @@
language: python language: python
sudo: false
os: matrix:
- linux include:
- osx - os: linux
sudo: false
cache: python: 2.7
directories: test/cache cache:
directories: test/cache
python: - os: linux
- "2.7" sudo: false
- "3.2" python: 3.2
- "3.5" cache:
directories: test/cache
- os: linux
sudo: false
python: 3.5
cache:
directories: test/cache
- os: osx
language: generic
install: install:
- pip install pyflakes - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip install pyflakes; fi
- pip install pep8 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip install pep8; fi
script: script:
- pyflakes . - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pyflakes .; fi
- pep8 . - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pep8 .; fi
- ./test.sh - ./test.sh