Enable phpunit testing in Travis CI.

This commit is contained in:
Tony Murray
2016-03-03 11:56:29 -06:00
parent 2af1b517e5
commit 985ea9bea6
3 changed files with 20 additions and 1 deletions

2
.gitignore vendored
View File

@@ -4,7 +4,7 @@
!/.gitignore
!/.editorconfig
!/.scrutinizer.yml
!/.travis.yml
# Others #
##########

11
.travis.yml Normal file
View File

@@ -0,0 +1,11 @@
language: php php:
- '5.3'
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- hhvm
matrix:
allow_failures:
- php: 7.0

8
phpunit.xml Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true">
<testsuites>
<testsuite name="Application Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>