1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-11 00:52:29 +01:00

32 lines
792 B
YAML
Raw Permalink 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
- DB=mysql
2013-08-19 23:28:20 +02:00
# - DB=pgsql
2013-08-19 20:08:55 +02:00
before_install:
2014-09-03 15:25:54 +02:00
- wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh
2014-09-03 15:27:29 +02:00
- bash ./before_install.sh contacts master $DB
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