perf: detect if codecept exist

This commit is contained in:
Stéphane 2017-05-07 19:40:18 +02:00
parent 5cf6f6ed9c
commit b22b59ab5d
No known key found for this signature in database
GPG Key ID: B426747B415ED543

11
test.sh
View File

@ -1,4 +1,9 @@
#!/usr/bin/env bash
# Runing tests for Lumen
cd lumen-test
wget http://codeception.com/codecept.phar
php codecept.phar run
cd lumen-test || return
if [ ! -f codecept.phar ]; then
wget http://codeception.com/codecept.phar
fi
php codecept.phar run