Skip to content

Commit

Permalink
add notes && travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
den-dev committed Nov 30, 2015
1 parent 65b0069 commit 6e8fb68
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 28 deletions.
25 changes: 0 additions & 25 deletions .travis

This file was deleted.

14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
language: php

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

branches:
only:
- master

before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
- mysql -e "DROP DATABASE IF EXISTS wptest;" -uroot
- bash ./bin/install-wp-tests.sh wptest travis ''
- mkdir -p build/logs

script: phpunit
script:
- phpunit
- phpunit --coverage-clover build/logs/clover.xml

after_script:
- php vendor/bin/coveralls -v
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
# Plpwpredirect

[![Build Status](https://travis-ci.org/dendevs/plpwpredirect.svg)](https://travis-ci.org/dendevs/plpwpredirect)
[![Build Status](https://travis-ci.org/dendevs/plpredirect.svg?branch=master)](https://travis-ci.org/dendevs/plpredirect)
[![Coverage Status](https://coveralls.io/repos/dendevs/plpredirect/badge.svg?branch=master&service=github)](https://coveralls.io/github/dendevs/plpredirect?branch=master)

*Simple redirect in wp*

## Install

Pour composer

```bash
composer require dendev/plpwpredirect
# "minimum-stability": "dev",
```

Dans le code

```php
<?php
require 'vendor/autoload.php';
Expand Down

0 comments on commit 6e8fb68

Please sign in to comment.