Skip to content

Instantly share code, notes, and snippets.

@kzykhys
Created September 3, 2013 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kzykhys/6421704 to your computer and use it in GitHub Desktop.
Save kzykhys/6421704 to your computer and use it in GitHub Desktop.
General Travis CI configuration for my PHP projects
language: php
php:
- 5.5
- 5.4
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --no-interaction
- php composer.phar require satooshi/php-coveralls:dev-master
script:
- mkdir -p build/logs
- phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
after_script:
- php vendor/bin/coveralls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment