2013-08-19 19:05:55 +02:00
|
|
|
language: php
|
2013-08-19 15:02:39 +02:00
|
|
|
php:
|
|
|
|
- 5.3
|
2013-08-19 15:17:34 +02:00
|
|
|
- 5.4
|
2013-08-19 19:11:45 +02:00
|
|
|
- 5.5
|
2013-08-19 15:17:34 +02:00
|
|
|
|
2013-08-19 18:23:18 +02:00
|
|
|
script:
|
2013-08-19 18:58:54 +02:00
|
|
|
- phpunit --configuration tests/phpunit.xml
|
2013-08-19 19:11:45 +02:00
|
|
|
|
2013-08-19 20:08:55 +02:00
|
|
|
env:
|
|
|
|
- DB=mysql
|
|
|
|
- DB=pgsql
|
|
|
|
- DB=sqlite
|
|
|
|
|
2013-08-19 19:43:47 +02:00
|
|
|
before_script:
|
|
|
|
- composer install
|
|
|
|
- ./tests/install_dependencies.sh
|
2013-08-19 19:24:29 +02:00
|
|
|
|
2013-08-19 18:01:30 +02:00
|
|
|
# - cd ..; git clone https://github.com/owncloud/appframework; cd contacts
|
|
|
|
# - sudo add-apt-repository -y ppa:chris-lea/node.js
|
|
|
|
# - sudo apt-get update
|
|
|
|
# - sudo apt-get -y install nodejs
|
|
|
|
# - wget https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2
|
|
|
|
# - tar xjf phantomjs-1.9.0-linux-x86_64.tar.bz2
|
|
|
|
# - sudo ln -s $(pwd)/phantomjs-1.9.0-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
|
2013-08-19 15:17:34 +02:00
|
|
|
|
2013-08-19 18:01:30 +02:00
|
|
|
#script:
|
|
|
|
# - make unit-tests
|
|
|
|
|
|
|
|
#&& make javascript-tests
|