.travis.yml 435 B

1234567891011121314151617181920
  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. install:
  9. - pip install -q $PYSCOPG2 --use-mirrors
  10. - pip install -q $DJANGO --use-mirrors
  11. - pip install -q IPy --use-mirrors
  12. - pip install . --use-mirrors
  13. before_script:
  14. - psql -c 'create database netfields;' -U postgres
  15. script: "./manage.py test"