浏览代码

travis: copy required config file

Bastien Sevajol (Algoo) 7 年前
父节点
当前提交
81f68ea65d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .travis.yml

+ 1 - 0
.travis.yml 查看文件

@@ -18,6 +18,7 @@ install:
18 18
 
19 19
 before_script:
20 20
   - cp ${TRAVIS_BUILD_DIR}/tracim/development.ini.base ${TRAVIS_BUILD_DIR}/tracim/development.ini
21
+  - cp ${TRAVIS_BUILD_DIR}/tracim/wsgidav.conf.sample ${TRAVIS_BUILD_DIR}/tracim/wsgidav.conf
21 22
 
22 23
   - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create database tracim_test;' -U postgres; fi"
23 24
   - sh -c "if [ '$DB' = 'postgres' ]; then cd ${TRAVIS_BUILD_DIR}/tracim && sed -i \"s/\(sqlalchemy.url *= *\).*/\1postgresql:\/\/postgres:dummy@127.0.0.1:5432\/tracim_test?client_encoding=utf8/\" test.ini; fi"