|
@@ -3,11 +3,21 @@ python:
|
3
|
3
|
- "3.2"
|
4
|
4
|
- "3.3"
|
5
|
5
|
- "3.4"
|
|
6
|
+
|
|
7
|
+addons:
|
|
8
|
+ postgresql: "9.3"
|
|
9
|
+
|
6
|
10
|
# command to install dependencies
|
7
|
11
|
install:
|
8
|
12
|
- "cd tracim && python setup.py develop && cd -"
|
9
|
13
|
- "pip install -r install/requirements.txt"
|
10
|
14
|
- "./bin/tg2env-patch tg2env/"
|
11
|
15
|
|
|
16
|
+before_script:
|
|
17
|
+ - "psql -c 'create database tracim_test;' -U postgres"
|
|
18
|
+ - "cd tracim && gearbox setup-app && cd -"
|
|
19
|
+
|
12
|
20
|
# command to run tests
|
13
|
21
|
script: nosetests --with-coverage --cover-package=tracim
|
|
22
|
+
|
|
23
|
+
|