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