This commit is contained in:
Hadis-Fard 2017-08-01 17:35:03 -07:00
Родитель 7816db5710
Коммит 4822cc286c
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -29,7 +29,7 @@ script:
- docker run -e TRAVIS_JOB_ID -t -d -w $PHPSQLDIR --name=client --link $TEST_PHP_SQL_SERVER msphpsql-dev
- docker ps -a
- docker logs client
- docker exec client php ./test/functional/pdo_sqlsrv/*.phpt
- docker exec client php ./source/sqlsrv/run-tests.php ./test/functional/pdo_sqlsrv/*.phpt
- docker exec client php ./source/sqlsrv/run-tests.php ./test/functional/sqlsrv/*.phpt
- docker exec client bash -c 'for f in ./test/functional/sqlsrv/*.diff; do ls $f 2>/dev/null; cat $f 2>/dev/null; done || true'
- docker exec client bash -c 'for f in ./test/functional/sqlsrv/*.out; do ls $f 2>/dev/null; cat $f 2>/dev/null; done || true'

Просмотреть файл

@ -80,11 +80,11 @@ RUN sed -i -e 's/TARGET_PASSWORD/'"$TEST_PHP_SQL_PWD"'/g' MsSetup.inc
WORKDIR $PHPSQLDIR
RUN chmod +x ./entrypoint.sh
RUN bin/bash -c ./entrypoint.sh
RUN bin/bash -c "./entrypoint.sh"
WORKDIR $PHPSQLDIR /test/functional/setup/
RUN python ./setup_dbs.py -dbname $SQLSRV_DBNAME
RUN python ./setup_dbs.py -dbname $PDOSQLSRV_DBNAME
#RUN python ./setup_dbs.py -dbname $SQLSRV_DBNAME
#RUN python ./setup_dbs.py -dbname $PDOSQLSRV_DBNAME
ENV TEST_PHP_EXECUTABLE /usr/bin/php