From 40399d4e56f0ce0bdf64b50733ecd069a1f64be8 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Thu, 12 Apr 2012 14:20:35 -0400 Subject: [PATCH] Fix sub-module issues --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b3c0640..080e266 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,10 @@ before_script: - sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres" - sh -c "psql -c 'create database test;' -U postgres" - sh -c "mysql -e 'create database IF NOT EXISTS test;'" - - sh -c "cd ./sys/db/" - - sh -c "git submodule init" - - sh -c "cd ../../" + - git submodule update --init + - cd sys/db + - git checkout master + - git pull origin master + - cd ../../ script: php ./tests/index.php \ No newline at end of file