1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +01:00
OwncloudContactsOfficial/.travis.yml

33 lines
705 B
YAML
Raw Normal View History

2013-08-19 19:05:55 +02:00
language: php
2013-08-19 15:02:39 +02:00
php:
- 5.3
- 5.4
2014-07-30 10:54:18 +02:00
- 5.5
2013-08-19 15:17:34 +02:00
branches:
except:
- share
2013-08-19 20:08:55 +02:00
env:
- DB=sqlite
2013-08-19 23:28:20 +02:00
# - DB=mysql
2013-08-19 23:28:20 +02:00
# - DB=pgsql
2013-08-19 20:08:55 +02:00
before_install:
2013-08-19 19:43:47 +02:00
- ./tests/install_dependencies.sh
- 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:
2014-07-30 10:54:18 +02:00
- sh -c "if [ '$DB' = 'sqlite' ]; then ant test; fi"
- phpunit --configuration tests/phpunit.xml --testsuite unit-tests
2013-08-19 18:01:30 +02:00
#&& make javascript-tests