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