-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Write first unit tests for issue #6 * Travis CI file * Update travis file * Add EOF
- Loading branch information
1 parent
ace0326
commit 2d2e5ee
Showing
5 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
language: php | ||
php: | ||
- '7.0' | ||
- '7.1' | ||
install: | ||
- composer install | ||
script: | ||
- ./vendor/bin/phpunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
<directory>tests/IntervalParserTests</directory> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ | |
'foo in 9d8h5m bar', | ||
new TimeInterval(new \DateInterval('P9DT8H5M'), 7, 24, 'foo', ' bar'), | ||
] | ||
]; | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ | |
'foo in 9w8d7h6m5s', | ||
new TimeInterval(new \DateInterval('P71DT7H6M5S'), 7, 42, 'foo', null), | ||
] | ||
]; | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
'31d12h30m0s foo', | ||
new TimeInterval(new \DateInterval('P31DT12H30M'), 0, 37, null, ' foo'), | ||
], | ||
]; | ||
]; |