Browse Source

debugging travis build

Damien ACCORSI 9 years ago
parent
commit
5a5f89f18b
1 changed files with 4 additions and 3 deletions
  1. 4 3
      .travis.yml

+ 4 - 3
.travis.yml View File

@@ -23,10 +23,11 @@ install:
23 23
   - "pip install coveralls"
24 24
 
25 25
 before_script:
26
+/home/travis/build/tracim/tracim/tracim/
26 27
   - "psql -c 'create database tracim_test;' -U postgres"
27
-  - "cp tracim/development.ini.base tracim/development.ini"
28
-  - "cd tracim && gearbox setup-app -c test.ini"
29
-  - "gearbox migrate -c test.ini upgrade"
28
+  - "cp ${TRAVIS_BUILD_DIR}/tracim/development.ini.base ${TRAVIS_BUILD_DIR}/tracim/development.ini"
29
+  - "cd tracim && gearbox setup-app -c ${TRAVIS_BUILD_DIR}/tracim/test.ini"
30
+  - "gearbox migrate -c ${TRAVIS_BUILD_DIR}/tracim/test.ini upgrade"
30 31
 
31 32
 # command to run tests
32 33
 script: "cd tracim && nosetests -v --with-coverage --cover-package=tracim --cover-erase"