language: python
sudo: false
python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"
  - "3.4"
  - "3.5"
install: true
script: cd code; nosetests

language: python
sudo: false
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
install: pip install flake8
before_script: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
script: cd code; nosetests

Remove Python 2.6 and <3.4, Add Python 3.6 and flake8
Remove Python 2.6 and <3.4, Add Python 3.6 and flake8

* Remove Python 2.6, 3.2, and 3.3 because they are now [end of life](https://devguide.python.org/#branchstatus).
* Add Python 3.6
* Test with [__flake8__](http://flake8.pycqa.org/) and stop the build if there are Python syntax errors or undefined names