forked from localwiki/localwiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 986 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: python
python:
- "2.7"
before_install:
- sudo apt-get update
- sudo apt-get install python-setuptools solr-jetty
- sudo apt-get install gdal-bin proj default-jre-headless
- sudo apt-get install postgresql-9.1-postgis
- pip install -r localwiki/etc/install_config/travis.txt --use-mirrors
- pip install coveralls --use-mirrors
install:
- python setup.py install
- install_config/setup_jetty.sh
- localwiki-manage init_data_dir
- localwiki-manage init_db
- localwiki-manage init_settings --skip-cloudmade-key
before_script:
# for https://code.djangoproject.com/ticket/16778
- echo "standard_conforming_strings=off" | sudo tee -a /etc/postgresql/9.1/main/postgresql.conf
- sudo /etc/init.d/postgresql restart
- psql localwiki -c "alter role localwiki createdb;"
script: coverage run --source=localwiki localwiki/manage.py test pages maps tags versioning diff ckeditor redirects users
after_success:
- coveralls