1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +01:00
OwncloudContactsOfficial/.travis.yml
2014-07-30 10:54:18 +02:00

33 lines
705 B
YAML

language: php
php:
- 5.3
- 5.4
- 5.5
branches:
except:
- share
env:
- DB=sqlite
# - DB=mysql
# - DB=pgsql
before_install:
- ./tests/install_dependencies.sh
- tests/setup_owncloud.sh
# - 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
script:
- sh -c "if [ '$DB' = 'sqlite' ]; then ant test; fi"
- phpunit --configuration tests/phpunit.xml --testsuite unit-tests
#&& make javascript-tests