Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
Merge 477505c into 24cee59
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Mar 24, 2017
2 parents 24cee59 + 477505c commit e1e0ebd
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 2 deletions.
57 changes: 57 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
language: php

matrix:
include:
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
env:
- ENABLE_XDEBUG=true
- php: 7.1
env:
- ENABLE_DEVTOOLS=true
- php: nightly
- php: hhvm-3.12
sudo: required
dist: trusty
group: edge
- php: hhvm
sudo: required
dist: trusty
group: edge
allow_failures:
- php: nightly
- php: hhvm-3.12
- php: hhvm
fast_finish: true

os:
- linux

notifications:
irc: "chat.freenode.net#hoaproject"

sudo: false

env:
global:
- secure: "AAAAB3NzaC1yc2EAAAADAQABAAAAgQCF3m090Ch+66KbUg3OQ6+Ai8AL4EhMqYobBC+3BDAeNa5vLUB2+r1memDrVFxlPYlHCJxkJG00a9BifGBPn//Lt1fSo8eSkxEd5nPcA5p6tuWIdNXT6e4GdsZ/Ae35N+3l9+b8WvT2+Sy5Ld/X05HNtGqovj1KBTMH2eAnUZrEVw=="

cache:
directories:
- vendor/

before_script:
- export PATH="$PATH:$HOME/.composer/vendor/bin"
- if [[ ! $ENABLE_XDEBUG ]]; then
phpenv config-rm xdebug.ini || echo "ext-xdebug is not available, cannot remove it.";
fi

script:
- composer install
- travis_wait 60 vendor/bin/hoa test:run
- if [[ $ENABLE_DEVTOOLS ]]; then
composer global require friendsofphp/php-cs-fixer;
vendor/bin/hoa devtools:cs --diff --dry-run .;
fi
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
---

<p align="center">
<a href="https://travis-ci.org/hoaproject/json"><img src="https://img.shields.io/travis/hoaproject/json/master.svg" alt="Build status" /></a>
<a href="https://coveralls.io/github/hoaproject/json?branch=master"><img src="https://img.shields.io/coveralls/hoaproject/json/master.svg" alt="Code coverage" /></a>
<a href="https://travis-ci.org/hoaproject/Json"><img src="https://img.shields.io/travis/hoaproject/Json/master.svg" alt="Build status" /></a>
<a href="https://coveralls.io/github/hoaproject/Json?branch=master"><img src="https://img.shields.io/coveralls/hoaproject/Json/master.svg" alt="Code coverage" /></a>
<a href="https://packagist.org/packages/hoa/json"><img src="https://img.shields.io/packagist/dt/hoa/json.svg" alt="Packagist" /></a>
<a href="https://hoa-project.net/LICENSE"><img src="https://img.shields.io/packagist/l/hoa/json.svg" alt="License" /></a>
</p>
Expand Down

0 comments on commit e1e0ebd

Please sign in to comment.