mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-21 17:20:57 +08:00
debugging travis
This commit is contained in:
@@ -21,14 +21,17 @@ install:
|
|||||||
- tests/unit/data/travis/memcache-setup.sh
|
- tests/unit/data/travis/memcache-setup.sh
|
||||||
- tests/unit/data/travis/cubrid-setup.sh
|
- tests/unit/data/travis/cubrid-setup.sh
|
||||||
# basic application:
|
# basic application:
|
||||||
|
- pwd
|
||||||
- composer install --dev --prefer-dist -d apps/basic
|
- composer install --dev --prefer-dist -d apps/basic
|
||||||
- cd apps/basic && php vendor/bin/codecept build
|
- cd apps/basic && php vendor/bin/codecept build
|
||||||
- cd apps/basic/web && php -S localhost:8080 &
|
- cd apps/basic/web && php -S localhost:8080 &
|
||||||
|
- pwd
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo 'elasticsearch version ' && curl http://localhost:9200/
|
- echo 'elasticsearch version ' && curl http://localhost:9200/
|
||||||
- mysql -e 'CREATE DATABASE yiitest;';
|
- mysql -e 'CREATE DATABASE yiitest;';
|
||||||
- psql -U postgres -c 'CREATE DATABASE yiitest;';
|
- psql -U postgres -c 'CREATE DATABASE yiitest;';
|
||||||
|
- pwd
|
||||||
- tests/unit/data/travis/sphinx-setup.sh
|
- tests/unit/data/travis/sphinx-setup.sh
|
||||||
- mongo yii2test --eval 'db.addUser("travis", "test");'
|
- mongo yii2test --eval 'db.addUser("travis", "test");'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user