Skip to content

Commit edd6a59

Browse files
remorhazremorhaz
authored andcommitted
Travis CI configured.
PHPUnit configured.
1 parent ff529c4 commit edd6a59

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: php
2+
3+
php:
4+
- '5.6'
5+
- '7.0'
6+
7+
script: phpunit

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
"Remorhaz\\JSONPointer\\Test\\": "tests/"
2727
}
2828
}
29-
}
29+
}

phpunit.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<phpunit bootstrap="vendor/autoload.php">
3+
<testsuites>
4+
<testsuite name="Library Test Suite">
5+
<directory>tests/</directory>
6+
</testsuite>
7+
<filter>
8+
<whitelist>
9+
<directory suffix=".php">src/</directory>
10+
</whitelist>
11+
</filter>
12+
</testsuites>
13+
</phpunit>

0 commit comments

Comments
 (0)