Skip to content

Commit

Permalink
Added travis support
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelLoparev committed Mar 10, 2017
1 parent 86dd800 commit 31a576d
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 266 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
@@ -0,0 +1,18 @@
language: php

php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- hhvm
- nightly

before_script:
- composer install

notifications:
email:
on_success: never
on_failure: always
12 changes: 12 additions & 0 deletions README.md
@@ -0,0 +1,12 @@
[![Build Status](https://travis-ci.org/PavelLoparev/design-patterns.svg?branch=master)](https://travis-ci.org/PavelLoparev/design-patterns)

# Design Patterns
Repository contains a list of design patterns implemented in php.

# Tests
`$ composer install`

`$ ./vendor/bin/phpunit`

# License
GPLv3. See LICENSE file.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -3,7 +3,7 @@
"php": ">=5.4.0"
},
"require-dev": {
"phpunit/phpunit": "5.5.*"
"phpunit/phpunit": "~4"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 31a576d

Please sign in to comment.