Skip to content

Commit

Permalink
Add travis support
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaeu committed Dec 6, 2015
1 parent 8aa0320 commit 2fd8b30
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: php

php:
- 7.0

before_script:
- composer require satooshi/php-coveralls:dev-master

script:
- mkdir -p build/logs
- php phpunit.phar --coverage-text --coverage-clover ./build/logs/clover.xml

after_script:
- php vendor/bin/coveralls -v

notifications:
email:
recipients:
- haeuslmann@gmail.com
on_success: never
on_failure: always
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Online Auction

[![Build Status](https://travis-ci.org/mihaeu/pw-online-auction.svg?branch=develop)](https://travis-ci.org/mihaeu/pw-online-auction)
[![Coverage Status](https://coveralls.io/repos/mihaeu/pw-online-auction/badge.svg?branch=develop&service=github)](https://coveralls.io/github/mihaeu/pw-online-auction?branch=develop)
![PHP v7](https://img.shields.io/badge/PHP-%3E%3D7-blue.svg)

## Getting started

```bash
Expand Down

0 comments on commit 2fd8b30

Please sign in to comment.