Skip to content

Commit

Permalink
add travis, gitattributes
Browse files Browse the repository at this point in the history
Signed-off-by: Suhayb Wardany <me@suw.me>
  • Loading branch information
suwardany committed Feb 11, 2016
1 parent eba18c9 commit 754a182
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
* text=auto

/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/CHANGELOG.md export-ignore
/CONTRIBUTING.md export-ignore
/README.md export-ignore
/phpunit.xml export-ignore
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: php

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

matrix:
allow_failures:
- php: hhvm

install:
- composer install --prefer-source

script:
- if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpunit --coverage-text; fi
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Alerts

[![Build Status](http://ci.cartalyst.com/build-status/svg/34)](http://ci.cartalyst.com/build-status/view/34)
[![Build Status](https://travis-ci.org/cartalyst/alerts.svg?branch=2.0)](https://travis-ci.org/cartalyst/alerts)

Alerts allows you to easily pass alerts to your views.

Expand Down
3 changes: 0 additions & 3 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,4 @@
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
</logging>
</phpunit>

0 comments on commit 754a182

Please sign in to comment.