language: php php: - 5.3 - 5.4 - 5.5 before_install: - cd .. - git clone https://github.com/owncloud/core.git - mv news core/apps/ - cd core - git submodule init - git submodule update - cd 3rdparty - git checkout stable6 - cd ../apps/news script: - 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 - make unit-tests - make javascript-tests