Working on TravisCI

This commit is contained in:
Hillel Coren 2016-02-18 11:21:23 +02:00
parent 50d949cb7e
commit edda5eb2fc
2 changed files with 5 additions and 4 deletions

View File

@ -25,7 +25,6 @@ env:
before_install: before_install:
# set GitHub token and update composer # set GitHub token and update composer
- phantomjs --version
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi; - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- composer self-update && composer -V - composer self-update && composer -V
@ -57,6 +56,8 @@ before_script:
- phantomjs --webdriver=4444 & # '&' allows to run in background - phantomjs --webdriver=4444 & # '&' allows to run in background
# Give it some time to start # Give it some time to start
- sleep 5 - sleep 5
# Make sure the app is up-to-date
- curl -L http://ninja.dev:8000/update
script: script:
- php ./vendor/codeception/codeception/codecept run --html --debug - php ./vendor/codeception/codeception/codecept run --html --debug

View File

@ -10,9 +10,9 @@ settings:
colors: true colors: true
memory_limit: 1024M memory_limit: 1024M
extensions: extensions:
# enabled: enabled:
# - Codeception\Extension\RunFailed - Codeception\Extension\RunFailed
# - Codeception\Extension\Recorder - Codeception\Extension\Recorder
config: config:
Codeception\Extension\Recorder: Codeception\Extension\Recorder:
delete_successful: false delete_successful: false