File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 1
1
vendor
2
+ phpunit.phar
3
+ phpunit.phar.asc
Original file line number Diff line number Diff line change 1
1
2
2
#! /usr/bin/env bash
3
- clean=1 # Delete phpunit.phar after the tests are complete?
4
3
gpg --fingerprint D8406D0D82947747293778314AA394086372C20A
5
4
if [ $? -ne 0 ]; then
6
5
echo -e " \033[33mDownloading PGP Public Key...\033[0m"
@@ -13,16 +12,6 @@ if [ $? -ne 0 ]; then
13
12
fi
14
13
fi
15
14
16
- if [ " $clean " -eq 1 ]; then
17
- # Let's clean them up, if they exist
18
- if [ -f phpunit.phar ]; then
19
- rm -f phpunit.phar
20
- fi
21
- if [ -f phpunit.phar.asc ]; then
22
- rm -f phpunit.phar.asc
23
- fi
24
- fi
25
-
26
15
# Let's grab the latest release and its signature
27
16
if [ ! -f phpunit.phar ]; then
28
17
wget https://phar.phpunit.de/phpunit.phar
@@ -37,7 +26,7 @@ if [ $? -eq 0 ]; then
37
26
echo
38
27
echo -e " \033[33mBegin Unit Testing\033[0m"
39
28
# Run the testing suite
40
- phpunit --configuration phpunit.xml.dist
29
+ php phpunit --configuration phpunit.xml.dist
41
30
# Cleanup
42
31
if [ " $clean " -eq 1 ]; then
43
32
echo -e " \033[32mCleaning Up!\033[0m"
You can’t perform that action at this time.
0 commit comments