aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 909678f8dcdb5a7725f78971f7d43328a39da362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
language: php
phps:
  - 5.3
script: cd tests && phpunit .
notifications:
  irc: "irc.freenode.org#semanticscuttle"

before_script:
  - mysql -e 'create database semanticscuttle_test;'
  - mysql semanticscuttle_test < data/tables.sql
  - cat data/config.php.dist | sed "s/'username'/'root'/" | sed "s/'password'/''/" | sed "s/'scuttle'/'semanticscuttle_test'/" > data/config.php
  - pyrus install pear/HTTP_Request2
  - pyrus install pear/PEAR
  - phpenv rehash