Source

django-slim / .travis.yml

Full commit
language: python

# Python versions
python:
  - "2.6"
  - "2.7"
  - "3.3"

# Command to install dependencies
install: 
  - python setup.py install
  - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -r example/requirements.txt; fi
  - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r example/requirements.txt; fi
  - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install -r example/requirements.txt; fi
  - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install -r example/requirements3.txt; fi
  - mkdir -p example/logs example/db example/static example/tmp example/media example/media/foo-images example/media/static
  - python example/example/manage.py syncdb --noinput --traceback -v 3
# Command to run tests
script: 
  - python example/example/manage.py test slim --traceback -v 3