Correct travis configuration.

This commit is contained in:
James Cole
2016-11-19 16:07:02 +01:00
parent ff4e1838bc
commit b057d69f8e
2 changed files with 8 additions and 4 deletions

View File

@@ -34,8 +34,11 @@ fi
cp $DATABASECOPY $DATABASE
# run PHPUnit
phpunit
if [ "$1" == "--notest" ]; then
echo "Must not run PHPUnit"
else
phpunit
fi
# restore current config:
mv .env.current .env