language: python
python:
  - "2.7"
# command to install wxPython using apt
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq python-wxgtk2.8
# command to install other dependencies
install:
  - pip install -r requirements.txt --use-mirrors
  - python setup.py -q install
# command to run tests
script: nosetests

# database setup
before_script:
  - mysql -e 'create database myapp_test;'
  - psql -c 'create database myapp_test;' -U postgres

language: python
python:
  - "2.7"
# command to install wxPython using apt
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq python-wxgtk2.8
# command to install other dependencies
install:
  - pip install -r requirements.txt --use-mirrors
  - python setup.py -q install
# command to run tests
script: cd ./test/ && nosetests

# database setup
before_script:
  - mysql -e 'create database myapp_test;'
  - psql -c 'create database myapp_test;' -U postgres

Change Travis YAML to run nosetests from test directory
Change Travis YAML to run nosetests from test directory
