Skip to content

Commit

Permalink
Setup travis CI and phpunit bootstrap file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlambe committed Apr 22, 2016
1 parent 9b9b5f0 commit 91572f1
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
@@ -0,0 +1,13 @@
language: php

php:
- '5.6'
- '7.0'
- hhvm
- nightly

before_script:
- composer self-update
- composer install

script: vendor/bin/phpunit
13 changes: 13 additions & 0 deletions phpunit.xml
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true">
<testsuites>
<testsuite name="Themosis test suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>
6 changes: 6 additions & 0 deletions tests/bootstrap.php
@@ -0,0 +1,6 @@
<?php

/**
* Composer autoload
*/
require __DIR__.'/../vendor/autoload.php';
File renamed without changes.

0 comments on commit 91572f1

Please sign in to comment.