language: python
python:
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.5-dev"
  - "nightly"
install:
  - pip install coveralls
os:
  - linux
script: coverage run --source=socman test_socman.py
after_success: coveralls

language: python

python:
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.5-dev"
  - "nightly"

os:
  - linux
  - osx


install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install python3; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux"]]; pip install coveralls; fi

script: if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coverage run --source=socman test_socman.py; fi
        if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python3 test_socman.py; fi

after_success: if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coveralls; fi

Support Python 3.5 on TravisCI under OSX
Support Python 3.5 on TravisCI under OSX

* Add conditional install of Python3 on OSX using homebrew
* Make coveralls commands conditional and run on Linux only
