Browse Source

debugging travis build

Damien ACCORSI 9 years ago
parent
commit
768425e1e4
2 changed files with 4 additions and 2 deletions
  1. 2 1
      .travis.yml
  2. 2 1
      tracim/development.ini.base

+ 2 - 1
.travis.yml View File

@@ -25,7 +25,8 @@ install:
25 25
 before_script:
26 26
   - "psql -c 'create database tracim_test;' -U postgres"
27 27
   - "cp ${TRAVIS_BUILD_DIR}/tracim/development.ini.base ${TRAVIS_BUILD_DIR}/tracim/development.ini"
28
-  - "cd ${TRAVIS_BUILD_DIR}/tracim && gearbox setup-app -c ${TRAVIS_BUILD_DIR}/tracim/test.ini"
28
+#  - "cd ${TRAVIS_BUILD_DIR}/tracim && gearbox setup-app -c ${TRAVIS_BUILD_DIR}/tracim/test.ini"
29
+  - "cd ${TRAVIS_BUILD_DIR}/tracim && gearbox setup-app"
29 30
 #  - "cd ${TRAVIS_BUILD_DIR}/tracim && gearbox migrate -c ${TRAVIS_BUILD_DIR}/tracim/test.ini upgrade"
30 31
 
31 32
 # command to run tests

+ 2 - 1
tracim/development.ini.base View File

@@ -62,7 +62,8 @@ beaker.session.validate_key = 3283411b-1904-4554-b0e1-883863b53080
62 62
 # invalidate the URI when specifying a SQLite db via path name
63 63
 # sqlalchemy.url=postgresql://username:password@hostname:port/databasename
64 64
 # sqlalchemy.url=mysql://username:password@hostname:port/databasename
65
-sqlalchemy.url = postgresql://tracim_user:tracim_user_password@127.0.0.1:5432/tracim?client_encoding=utf8
65
+# sqlalchemy.url = postgresql://tracim_user:tracim_user_password@127.0.0.1:5432/tracim?client_encoding=utf8
66
+sqlalchemy.url = postgresql://postgres:dummy@127.0.0.1:5432/tracim_test?client_encoding=utf8
66 67
 
67 68
 #echo shouldn't be used together with the logging module.
68 69
 sqlalchemy.echo = false