language: python
python:
  - "3.3"
  - "2.7"
  - "2.6"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
    - pip install -r requirements.txt --use-mirrors
    - sudo apt-get install python-tk
# command to run tests, e.g. python setup.py test
script:  python -m unittest discover

language: python
python:
  - "3.3"
  - "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
before_install: sudo apt-get install python-tk
install: pip install -r requirements.txt --use-mirrors
# command to run tests, e.g. python setup.py test
script:  python -m unittest discover

Move python-tk to before_install for Travis CI
Move python-tk to before_install for Travis CI
