From 7011adbcd596e2a16cb692d6196448c1e8cec264 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Mon, 19 Aug 2013 15:17:34 +0200 Subject: [PATCH] Update .travis.yml --- .travis.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 23902b4d..301104e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,15 @@ -language: php php: - - 5.5 - - 5.4 - 5.3 + - 5.4 + +before_install: + - cd ..; git clone https://github.com/owncloud/appframework; cd contacts + +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