|
@@ -10,17 +10,20 @@ addons:
|
10
|
10
|
# command to install dependencies
|
11
|
11
|
# Note: there's an echo at the end of pip install. It allows to override the default return code which is not 0
|
12
|
12
|
# because some packages need to be ugraded to python3 (invalid python syntax because of python2 source code)
|
|
13
|
+#
|
|
14
|
+# pip install -r is run 2 times in order to really install tgapp-resetpassword (to investigate)
|
|
15
|
+#
|
13
|
16
|
install:
|
14
|
17
|
- "cd tracim && python setup.py develop; cd -"
|
15
|
18
|
- "pip install -r install/requirements.txt; echo"
|
16
|
|
- - "./bin/tg2env-patch tg2env/"
|
|
19
|
+ - "pip install -r install/requirements.txt; echo"
|
|
20
|
+ - "./bin/tg2env-patch /home/travis/virtualenv"
|
17
|
21
|
|
18
|
22
|
before_script:
|
19
|
23
|
- "psql -c 'create database tracim_test;' -U postgres"
|
20
|
24
|
- "cp tracim/development.ini.base tracim/development.ini"
|
21
|
|
- - "cd tracim && gearbox setup-app; cd -"
|
22
|
25
|
|
23
|
26
|
# command to run tests
|
24
|
|
-script: nosetests --with-coverage --cover-package=tracim
|
|
27
|
+script: cd tracim && nosetests --with-coverage --cover-package=tracim
|
25
|
28
|
|
26
|
29
|
|