Skip to content

Commit

Permalink
testing mysqldump-php under hhvm in travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ifsnop committed Feb 6, 2018
1 parent 1806317 commit cd2666b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dist: trusty
sudo: required
group: deprecated-2017Q4

language: php

Expand Down Expand Up @@ -37,5 +38,6 @@ before_script:
- tests/create_users.sh

script:
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
- php src/Ifsnop/Mysqldump/Mysqldump.php
- cd tests && ./test.sh
2 changes: 1 addition & 1 deletion tests/test.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@
array('complete-insert' => true));
$dump->start("mysqldump-php_test011b.sql");

exit;
exit(0);
2 changes: 1 addition & 1 deletion tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ mysqldump -utravis test005 \
> mysqldump_test005.sql
ret[((index++))]=$?

php test.php
php test.php || { echo "ERROR running test.php" && exit; }
ret[((index++))]=$?

mysql -utravis test001 < mysqldump-php_test001.sql
Expand Down

0 comments on commit cd2666b

Please sign in to comment.