2013-07-20 02:06:15 +04:00
|
|
|
language: php
|
|
|
|
php:
|
|
|
|
- 5.3
|
|
|
|
- 5.4
|
2013-09-22 17:15:50 +04:00
|
|
|
- 5.5
|
2013-07-06 03:05:14 +04:00
|
|
|
|
2013-07-19 21:34:51 +04:00
|
|
|
before_install:
|
2014-04-08 21:11:09 +04:00
|
|
|
- cd ..
|
2014-04-08 21:07:13 +04:00
|
|
|
- git clone https://github.com/owncloud/core.git
|
2014-04-08 21:20:06 +04:00
|
|
|
- mv news core/apps/
|
2014-04-08 21:07:13 +04:00
|
|
|
- cd core
|
|
|
|
- git submodule init
|
|
|
|
- git submodule update
|
2014-04-08 21:15:31 +04:00
|
|
|
- cd 3rdparty
|
|
|
|
- git checkout stable6
|
2014-04-12 03:03:34 +04:00
|
|
|
- cd ../apps/news
|
2013-07-06 12:28:24 +04:00
|
|
|
|
2013-07-06 12:40:25 +04:00
|
|
|
script:
|
2013-07-20 02:09:20 +04:00
|
|
|
- sudo add-apt-repository -y ppa:chris-lea/node.js
|
2013-07-20 02:06:15 +04:00
|
|
|
- sudo apt-get update
|
2013-08-06 13:15:57 +04:00
|
|
|
- sudo apt-get -y install nodejs
|
|
|
|
- wget https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2
|
2013-08-06 13:29:04 +04:00
|
|
|
- tar xjf phantomjs-1.9.0-linux-x86_64.tar.bz2
|
2013-08-06 13:15:57 +04:00
|
|
|
- sudo ln -s $(pwd)/phantomjs-1.9.0-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
|
2014-04-08 21:22:45 +04:00
|
|
|
- make unit-tests
|
|
|
|
- make javascript-tests
|