Explorar el Código

move database schema upgrade from installation to 'before script'

Damien ACCORSI hace 9 años
padre
commit
1a2cfa7a6a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml Ver fichero

@@ -21,11 +21,11 @@ install:
21 21
   - "pip install -r install/requirements.txt; echo"
22 22
   - "./bin/tg2env-patch 2 /home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages"
23 23
   - "pip install coveralls"
24
-  - "cd tracim && gearbox migrate upgrade"
25
-  
24
+
26 25
 before_script:
27 26
   - "psql -c 'create database tracim_test;' -U postgres"
28 27
   - "cp tracim/development.ini.base tracim/development.ini"
28
+  - "cd tracim && gearbox migrate upgrade"
29 29
 
30 30
 # command to run tests
31 31
 script: "cd tracim && nosetests -v --with-coverage --cover-package=tracim --cover-erase"