2013-08-19 19:05:55 +02:00
|
|
|
language: php
|
2013-08-19 15:02:39 +02:00
|
|
|
php:
|
|
|
|
- 5.3
|
2013-08-26 20:10:29 +02:00
|
|
|
- 5.4
|
2013-08-19 23:28:20 +02:00
|
|
|
|
|
|
|
# - 5.5
|
2013-08-19 15:17:34 +02:00
|
|
|
|
2013-08-19 21:12:05 +02:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- share
|
|
|
|
|
2013-08-19 20:08:55 +02:00
|
|
|
env:
|
2013-08-26 20:10:29 +02:00
|
|
|
- DB=sqlite
|
2013-08-19 23:28:20 +02:00
|
|
|
|
2013-08-26 20:10:29 +02:00
|
|
|
# - DB=mysql
|
2013-08-19 23:28:20 +02:00
|
|
|
# - DB=pgsql
|
2013-08-19 20:08:55 +02:00
|
|
|
|
2013-08-26 20:10:29 +02:00
|
|
|
before_install:
|
2013-08-19 19:43:47 +02:00
|
|
|
- ./tests/install_dependencies.sh
|
2013-08-26 20:10:29 +02:00
|
|
|
- tests/setup_owncloud.sh
|
2013-08-19 19:24:29 +02:00
|
|
|
|
2013-08-19 18:01:30 +02:00
|
|
|
# - 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-20 00:27:36 +02:00
|
|
|
script:
|
2013-08-26 20:10:29 +02:00
|
|
|
- phpunit --configuration tests/phpunit.xml --testsuite unit-tests
|
|
|
|
|
2013-08-19 18:01:30 +02:00
|
|
|
#&& make javascript-tests
|