From 931b000e5a3f586b773be6e35e181edb0fe8a33f Mon Sep 17 00:00:00 2001 From: peterdd Date: Tue, 27 Oct 2015 08:59:01 +0100 Subject: [PATCH] a try to complete the travis testing setup to be able to write real tests --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 5fd3f3c77..fc21e9258 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,8 @@ install: # execute any number of scripts before the test run, custom env's are available as variables before_script: +- curl -s http://getcomposer.org/installer | php +- php composer.phar install - if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS flyspray_test;" -U postgres; fi - if [[ "$DB" == "pgsql" ]]; then psql -c "CREATE DATABASE flyspray_test;" -U postgres; fi - if [[ "$DB" == "mysql" ]]; then mysql -e "CREATE DATABASE IF NOT EXISTS flyspray_test;" -uroot; fi