Download and run codeception

This commit is contained in:
Alex Bilbie 2014-05-10 12:00:15 +01:00
parent ad5cef3b7d
commit 9a6ab4141f

View File

@ -19,10 +19,12 @@ before_script:
- php -S localhost:8000 & - php -S localhost:8000 &
- sleep 3 - sleep 3
- cd ../.. - cd ../..
- wget http://codeception.com/codecept.phar
script: script:
- mkdir -p build/logs - mkdir -p build/logs
- phpunit --coverage-text - phpunit --coverage-text
- php codecept.phar run api -c tests/codecept/codeception.yml
- ./vendor/bin/phpcs src --standard=psr2 - ./vendor/bin/phpcs src --standard=psr2
after_script: after_script: