Skip to content

Commit

Permalink
Trying to fix Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
subins2000 committed Mar 16, 2017
1 parent de28ac8 commit 766e2db
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Expand Up @@ -12,7 +12,10 @@ before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS tests;'
- psql -c 'create database tests;' -U postgres

before_script:
- composer update

script:
- phpunit -c testing/phpunit.mysql.xml
- phpunit -c testing/phpunit.sqlite.xml
- phpunit -c testing/phpunit.postgresql.xml
- vendor/bin/phpunit -c testing/phpunit.mysql.xml
- vendor/bin/phpunit -c testing/phpunit.sqlite.xml
- vendor/bin/phpunit -c testing/phpunit.postgresql.xml
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -21,6 +21,6 @@
"php": ">=5.5"
},
"require-dev": {
"phpunit": "*"
"phpunit/phpunit": "5.7.16"
}
}
2 changes: 1 addition & 1 deletion testing/tests/TestDBSetup.php
@@ -1,5 +1,5 @@
<?php
class TestDBSetup extends \PHPUnit\Framework\TestCase
class TestDBSetup extends PHPUnit_Framework_TestCase
{
private $pdo = null;

Expand Down
2 changes: 1 addition & 1 deletion testing/tests/TestDebug.php
@@ -1,5 +1,5 @@
<?php
class TestDebug extends \PHPUnit\Framework\TestCase
class TestDebug extends PHPUnit_Framework_TestCase
{
private static $pdo = null;
private static $log_file;
Expand Down
2 changes: 1 addition & 1 deletion testing/tests/TestUserBasic.php
Expand Up @@ -2,7 +2,7 @@

use Fr\LS;

class TestUserBasic extends \PHPUnit\Framework\TestCase
class TestUserBasic extends PHPUnit_Framework_TestCase
{
private static $pdo = null;

Expand Down
2 changes: 1 addition & 1 deletion testing/tests/TestUserResetPassword.php
Expand Up @@ -2,7 +2,7 @@

use Fr\LS;

class TestUserResetPassword extends \PHPUnit\Framework\TestCase
class TestUserResetPassword extends PHPUnit_Framework_TestCase
{
private static $pdo = null;

Expand Down
2 changes: 1 addition & 1 deletion testing/tests/TestUserTwoStepLogin.php
Expand Up @@ -3,7 +3,7 @@
use Fr\LS;
use Fr\LS\TwoStepLogin;

class TestUserTwoStepLogin extends \PHPUnit\Framework\TestCase
class TestUserTwoStepLogin extends PHPUnit_Framework_TestCase
{
private static $pdo = null;

Expand Down

0 comments on commit 766e2db

Please sign in to comment.