Browse Source

move database schema upgrade from installation to 'before script'

Damien ACCORSI 9 years ago
parent
commit
1a2cfa7a6a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml View File

@@ -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"