Skip to content

Commit

Permalink
Added Travis and badges
Browse files Browse the repository at this point in the history
  • Loading branch information
benatespina committed Sep 24, 2015
1 parent a1f6c02 commit b1ded25
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This file is part of the Knowledge Base package.
#
# Copyright (c) 2015 LIN3S <info@lin3s.com>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#
# @author Beñat Espiña <benatespina@gmail.com>

sudo: false

language: php

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

before_script:
- composer self-update
- composer install --prefer-source

script:
- vendor/bin/phpspec run -fpretty

cache:
directories:
- $COMPOSER_CACHE_DIR

matrix:
allow_failures:
- php: 7.0
- php: hhvm
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#Knowledge Base component
> PHP Component to build a knowledge base from your Markup files easily.
> PHP Component to build a knowledge base from your Markup files easily.
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/a96780cf-2f22-46ae-880a-531565df78d1/mini.png)](https://insight.sensiolabs.com/projects/a96780cf-2f22-46ae-880a-531565df78d1)
[![Build Status](https://travis-ci.org/LIN3S/KnowledgeBase.svg?branch=master)](https://travis-ci.org/LIN3S/KnowledgeBase)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/LIN3S/KnowledgeBase/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/LIN3S/KnowledgeBase/?branch=master)
[![Total Downloads](https://poser.pugx.org/lin3s/knowledge-base/downloads)](https://packagist.org/packages/lin3s/knowledge-base)
&nbsp;&nbsp;&nbsp;&nbsp;
[![Latest Stable Version](https://poser.pugx.org/lin3s/knowledge-base/v/stable.svg)](https://packagist.org/packages/lin3s/knowledge-base)
[![Latest Unstable Version](https://poser.pugx.org/lin3s/knowledge-base/v/unstable.svg)](https://packagist.org/packages/lin3s/knowledge-base)

##Installation
Make sure you have composer installed in your computer.
Expand Down

0 comments on commit b1ded25

Please sign in to comment.