Skip to content
This repository has been archived by the owner on Aug 25, 2018. It is now read-only.

Commit

Permalink
Add configuration for Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed May 31, 2015
1 parent b53d9ed commit 8ffb9a9
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.ini
@@ -0,0 +1 @@
date.timezone = "UTC"
32 changes: 32 additions & 0 deletions .travis.yml
@@ -0,0 +1,32 @@
language: php

sudo: false

php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm

matrix:
fast_finish: true
allow_failures:
- php: 7.0

cache:
directories:
- $HOME/.composer/cache

before_install:
- travis_retry composer self-update

install:
- travis_retry composer update --no-interaction

before_script:
- if [ "$TRAVIS_PHP_VERSION" = "hhv*" ]; then cat tests/fixtures/travis.ini >> /etc/hhvm/php.ini; fi;
- if [ "$TRAVIS_PHP_VERSION" = "php*" ]; then phpenv config-add tests/fixtures/travis.ini ; fi;

script:
- vendor/bin/phpunit --testdox --coverage-text

0 comments on commit 8ffb9a9

Please sign in to comment.