Skip to content

Commit 94b237c

Browse files
Ashley Hindleifsnop
authored andcommitted
Add call to PHPUnit in Travis for automated testing
1 parent 9d131c2 commit 94b237c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ matrix:
1919
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
2020
- php src/Ifsnop/Mysqldump/Mysqldump.php
2121
- cd tests && ./test.sh
22+
- vendor/bin/phpunit
2223
addons:
2324
apt:
2425
sources:
@@ -44,6 +45,7 @@ matrix:
4445
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
4546
- php src/Ifsnop/Mysqldump/Mysqldump.php
4647
- cd tests && ./test.sh
48+
- vendor/bin/phpunit
4749
addons:
4850
apt:
4951
sources:
@@ -69,6 +71,7 @@ matrix:
6971
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
7072
- php src/Ifsnop/Mysqldump/Mysqldump.php
7173
- cd tests && ./test.sh
74+
- vendor/bin/phpunit
7275
addons:
7376
apt:
7477
sources:
@@ -94,6 +97,7 @@ matrix:
9497
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
9598
- php src/Ifsnop/Mysqldump/Mysqldump.php
9699
- cd tests && ./test.sh
100+
- vendor/bin/phpunit
97101
addons:
98102
apt:
99103
sources:
@@ -119,6 +123,7 @@ matrix:
119123
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
120124
- php src/Ifsnop/Mysqldump/Mysqldump.php
121125
- cd tests && ./test.sh
126+
- vendor/bin/phpunit
122127
addons:
123128
apt:
124129
sources:
@@ -144,6 +149,7 @@ matrix:
144149
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
145150
- php src/Ifsnop/Mysqldump/Mysqldump.php
146151
- cd tests && ./test.sh
152+
- vendor/bin/phpunit
147153
addons:
148154
apt:
149155
sources:
@@ -169,6 +175,7 @@ matrix:
169175
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
170176
- php src/Ifsnop/Mysqldump/Mysqldump.php
171177
- cd tests && ./test.sh
178+
- vendor/bin/phpunit
172179
addons:
173180
apt:
174181
sources:
@@ -194,6 +201,7 @@ matrix:
194201
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
195202
- php src/Ifsnop/Mysqldump/Mysqldump.php
196203
- cd tests && ./test.sh
204+
- vendor/bin/phpunit
197205
addons:
198206
apt:
199207
sources:
@@ -219,6 +227,7 @@ matrix:
219227
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
220228
- php src/Ifsnop/Mysqldump/Mysqldump.php
221229
- cd tests && ./test.sh
230+
- vendor/bin/phpunit
222231
addons:
223232
apt:
224233
sources:
@@ -244,6 +253,7 @@ matrix:
244253
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
245254
- php src/Ifsnop/Mysqldump/Mysqldump.php
246255
- cd tests && ./test.sh
256+
- vendor/bin/phpunit
247257
addons:
248258
apt:
249259
sources:
@@ -270,6 +280,7 @@ matrix:
270280
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
271281
- php src/Ifsnop/Mysqldump/Mysqldump.php
272282
- cd tests && ./test.sh
283+
- vendor/bin/phpunit
273284
before_install:
274285
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
275286
allow_failures:

0 commit comments

Comments
 (0)