Skip to content

Commit

Permalink
Travis should be working now
Browse files Browse the repository at this point in the history
  • Loading branch information
Tustin committed Feb 25, 2017
1 parent a0fb706 commit 7324bd5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ php:
- '5.6'
- '7.0'
- '7.1'
before_script: composer require tustin/psn-php
script: phpunit tests/index.php
script: phpunit --configuration phpunit.xml
9 changes: 9 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>

<phpunit bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="psn-php">
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
3 changes: 0 additions & 3 deletions tests/index.php → tests/authTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<?php

require_once '../vendor/autoload.php';

try {
$account = new \PSN\Auth('[email protected]', 'password');
} catch (\PSN\AuthException $e) {
Expand Down

0 comments on commit 7324bd5

Please sign in to comment.