Update script.sh

run tests on travis in debug mode