language: php

php:
    - 5.4

before_script:
    #- sudo apt-get update
    #- sudo apt-get install apache2 php5-cgi
    #- composer install --no-interaction --dev
    - wget https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.10.zip -nv
    - unzip -q google_appengine_1.9.10.zip
    - bash -c './google_appengine/dev_appserver.py tests/ --skip_sdk_update_check --php_executable_path=~/.phpenv/versions/$(phpenv version-name)/bin/php-cgi 1> out.log 2> err.log & echo $! > appengine.pid'
    #- ./google_appengine/dev_appserver.py tests/ --php_executable_path=~/.phpenv/versions/$(phpenv version-name)/bin/php-cgi --skip_sdk_update_check

script: vendor/bin/phpunit UnitTest tests/DatastoreTest.php

after_script:
    - bash -c 'cat appengine.pid | xargs kill'
    - cat out.log
    - cat err.log

language: php

php:
    - 5.4

before_script:
    #- sudo apt-get update
    #- sudo apt-get install apache2 php5-cgi
    - composer install --no-interaction --dev
    - wget https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.10.zip -nv
    - unzip -q google_appengine_1.9.10.zip
    - bash -c './google_appengine/dev_appserver.py tests/ --skip_sdk_update_check --php_executable_path=~/.phpenv/versions/$(phpenv version-name)/bin/php-cgi 1> out.log 2> err.log & echo $! > appengine.pid'
    #- ./google_appengine/dev_appserver.py tests/ --php_executable_path=~/.phpenv/versions/$(phpenv version-name)/bin/php-cgi --skip_sdk_update_check

script: vendor/bin/phpunit UnitTest tests/DatastoreTest.php

after_script:
    - bash -c 'cat appengine.pid | xargs kill'
    - cat out.log
    - cat err.log

Add commented composer command back in.
Add commented composer command back in.
