-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
33 lines (29 loc) · 874 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
25
26
27
28
29
30
31
32
33
language: python
python:
- "2.7"
addons:
postgresql: "9.3"
install:
- sudo apt-get update -y &&
sudo apt-get install -y
build-essential htop
python-dev python-pip python-virtualenv
libxml2-dev libxslt1-dev
libcurl4-openssl-dev libssl-dev zlib1g-dev libpcre3-dev
libldap2-dev libsasl2-dev
libjpeg-dev
libfreetype6-dev
libpq-dev
npm
memcached
- npm install
- pip install -r requirements.txt
- mkdir -p media/portraits/full media/portraits/thumb media/portraits/badge
- psql -c 'create database fum;' -U postgres
- cp local_settings.py.template local_settings.py
- sed -i local_settings.py
-e "s/^SECRET_KEY =.*$/SECRET_KEY = 'test'/"
-e "s/company/futurice/g"
-e "s/Company/Futurice/g"
-e 's/example\.com/futurice.com/g'
script: python manage.py test --settings=fum.settings.test --noinput fum