.travis.yml 480 B

123456789101112131415161718192021
  1. language: python
  2. python:
  3. - "2.6"
  4. - "2.7"
  5. env:
  6. - DJANGO='Django<=1.4' PYSCOPG2='psycopg2==2.4.1' # see django issue #16250
  7. - DJANGO='Django<=1.5' PYSCOPG2='psycopg2'
  8. - DJANGO='Django<=1.6' PYSCOPG2='psycopg2'
  9. install:
  10. - pip install -q $PYSCOPG2 --use-mirrors
  11. - pip install -q $DJANGO --use-mirrors
  12. - pip install -q IPy --use-mirrors
  13. - pip install . --use-mirrors
  14. before_script:
  15. - psql -c 'create database netfields;' -U postgres
  16. script: "./manage.py test"