2012-01-25 21:22:10 +00:00
|
|
|
language: php
|
|
|
|
phps:
|
|
|
|
- 5.3
|
|
|
|
script: cd tests && phpunit .
|
|
|
|
notifications:
|
|
|
|
irc: "irc.freenode.org#semanticscuttle"
|
2012-01-25 21:51:35 +00:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- mysql -e 'create database semanticscuttle_test;'
|
2012-01-25 22:00:11 +00:00
|
|
|
- mysql semanticscuttle_test < data/tables.sql
|
2012-01-25 21:51:35 +00:00
|
|
|
- cat data/config.php.dist | sed "s/'username'/'root'/" | sed "s/'password'/''/" | sed "s/'scuttle'/'semanticscuttle_test'/" > data/config.php
|
2012-01-25 22:00:11 +00:00
|
|
|
- pyrus install pear/HTTP_Request2
|
|
|
|
- phpenv rehash
|