language: python
matrix:
    include:
        - os: linux
          python: 3.5 
        - os: linux
          python: 3.6
        - os: linux
          python: "nightly"
        # - os: osx
        #   python: 3.4
        # - os: osx
        #   python: 3.5
        # - os: osx
        #   python: 3.6
        - os: osx
          language: generic
        - os: osx
          python: "nightly"
    allow_failures:
        - python: "nightly"

install:
  - |
    if [[ $TRAVIS_OS_NAME == 'osx' ]]; then

        brew update;
        brew install python3;
        python3 -m venv /tmp/venv;
        source /tmp/venv/bin/activate;
    fi
  - pip install -r requirements-tests.txt
  - python setup.py install

script:
  - py.test --flake8 --timeout=10 --cov --cov-report=xml:coverage.xml
  - codecov -X gcov


language: python
matrix:
    include:
        - os: linux
          python: 3.5 
        - os: linux
          python: 3.6
        - os: linux
          python: "nightly"
        # - os: osx
        #   python: 3.4
        # - os: osx
        #   python: 3.5
        # - os: osx
        #   python: 3.6
        - os: osx
          language: generic
    allow_failures:
        - python: "nightly"

install:
  - |
    if [[ $TRAVIS_OS_NAME == 'osx' ]]; then

        brew update;
        brew install python3;
        python3 -m venv /tmp/venv;
        source /tmp/venv/bin/activate;
    fi
  - pip install -r requirements-tests.txt
  - python setup.py install

script:
  - py.test --flake8 --timeout=10 --cov --cov-report=xml:coverage.xml
  - codecov -X gcov


Remove mac 'nightly' because its actually python2
Remove mac 'nightly' because its actually python2
