# Configuration file for building this project with Travis CI
language: python
python: 
  - "2.7"
install: pip install -r REQUIREMENTS --use-mirrors && pip install -r REQUIREMENTS-dev --use-mirrors
#script: python manage.py harvest --apps=storybase_user  --settings=settings.travis
script: python manage.py test storybase_user storybase_story storybase_asset --settings=settings.travis
postgres:
  adapter: postgresql
  database: atlas_test
  username: postgres
before_install:
  - "sudo apt-get install gdal-bin libproj-dev postgis postgresql-9.1-postgis"
  - "sudo bash ./scripts/create_template_postgis-debian.sh"
  - "sudo bash ./scripts/apply_django_patches /home/vagrant/virtualenv/python2.7/local/lib/python2.7/site-packages/django"
before_script:
  - "createdb -T template_postgis atlas_test -U postgres"
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
branches:
  only:
    - master
    - develop

# Configuration file for building this project with Travis CI
language: python
python: 
  - "2.7"
install: pip install -r REQUIREMENTS --use-mirrors && pip install -r REQUIREMENTS-dev --use-mirrors
#script: python manage.py harvest --apps=storybase_user  --settings=settings.travis
script: python manage.py test storybase_user storybase_story storybase_asset --settings=settings.travis
postgres:
  adapter: postgresql
  database: atlas_test
  username: postgres
before_install:
  - "sudo apt-get install gdal-bin libproj-dev postgis postgresql-9.1-postgis"
  - "sudo bash ./scripts/create_template_postgis-debian.sh"
  - "sudo 'source /home/vagrant/virtualenv/python2.7/bin/activate && bash ./scripts/apply_django_patches /home/vagrant/virtualenv/python2.7/lib/python2.7/site-packages/django'"
before_script:
  - "createdb -T template_postgis atlas_test -U postgres"
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
branches:
  only:
    - master
    - develop

Fix paths in last commit's changes
Fix paths in last commit's changes
