language: python
python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"
  - "3.4"
# command to install dependencies
install: 
# use pyaml for tests above py26
 - pip install -r requirements.txt
 - if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then pip install pyaml; fi
 - "python setup.py install"
# command to run tests
script: python test.py

language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
# command to install dependencies
install: 
# use pyaml for tests above py26
 - pip install -r requirements.txt
 - if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then pip install pyaml; fi
 - "python setup.py install"
# command to run tests
script: python test.py

Drop py2.6, 3.2 and 3.3; add 3.5 and 3.6
Drop py2.6, 3.2 and 3.3; add 3.5 and 3.6
