language: python
python:
  - "2.7"
  - "3.6"

install: 
# - pip install -r requirements.txt
  - python setup.py install

script: py.test python

addons:
    apt:
        sources:
            - ubuntu-toolchain-r-test
        packages:
            - g++-5
            - gcc-5

env:
    CXX=g++-5


language: python
python:
  - "2.7"
  - "3.6"

install: 
# - pip install -r requirements.txt
  - python setup.py install

script: py.test python

addons:
    apt:
        sources:
            - ubuntu-toolchain-r-test
        packages:
            - g++-5
            - gcc-5

install: 
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 90
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90

env:
    CXX=g++-5


Update alternatives for GCC 5.
Update alternatives for GCC 5.
