Browse Source

fixed basic app travis

fixes #1744
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
d84aac09de
  1. 6
      .travis.yml

6
.travis.yml

@ -21,18 +21,14 @@ install:
- tests/unit/data/travis/memcache-setup.sh
- tests/unit/data/travis/cubrid-setup.sh
# basic application:
- pwd
- composer install --dev --prefer-dist -d apps/basic
- cd apps/basic && php vendor/bin/codecept build && cd ../..
- pwd
- cd apps/basic/web && php -S localhost:8080 &
- pwd
- cd apps && php -S localhost:8080 &
before_script:
- echo 'elasticsearch version ' && curl http://localhost:9200/
- mysql -e 'CREATE DATABASE yiitest;';
- psql -U postgres -c 'CREATE DATABASE yiitest;';
- pwd
- tests/unit/data/travis/sphinx-setup.sh
- mongo yii2test --eval 'db.addUser("travis", "test");'

Loading…
Cancel
Save