Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Feb 17, 2020
1 parent 1eacba7 commit a27a71d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: php

sudo: false

matrix:
include:
- php: hhvm-3.18
Expand Down Expand Up @@ -29,9 +27,4 @@ install:
- travis_retry composer install --no-suggest --prefer-dist -n -o

script:
- if [ "$TRAVIS_PHP_VERSION" != "5.4" ] && [ "$TRAVIS_PHP_VERSION" != "5.5" ] && [ "$TRAVIS_PHP_VERSION" != "5.6" ]; then vendor/bin/phpunit; fi
- if [ "$TRAVIS_PHP_VERSION" == "5.4" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi

after_script:
- if [ "$TRAVIS_PHP_VERSION" == "5.4" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" == "5.4" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi
- vendor/bin/phpunit
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014-2019 Graham Campbell <graham@alt-three.com>
Copyright (c) 2014-2020 Graham Campbell <graham@alt-three.com>
Copyright (c) 2014-2015 Scott Robertson <scottymeuk@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Factory Muffin 3.0

[![StyleCI Status](https://styleci.io/repos/7930464/shield)](https://styleci.io/repos/7930464)
[![Build Status](https://img.shields.io/travis/thephpleague/factory-muffin.svg?style=flat-square)](https://travis-ci.org/thephpleague/factory-muffin)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/thephpleague/factory-muffin.svg?style=flat-square)](https://scrutinizer-ci.com/g/thephpleague/factory-muffin/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/g/thephpleague/factory-muffin.svg?style=flat-square)](https://scrutinizer-ci.com/g/thephpleague/factory-muffin)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Latest Version](https://img.shields.io/github/release/thephpleague/factory-muffin.svg?style=flat-square)](https://github.com/thephpleague/factory-muffin/releases)
[![Total Downloads](https://img.shields.io/packagist/dt/league/factory-muffin.svg?style=flat-square)](https://packagist.org/packages/league/factory-muffin)
Expand All @@ -18,21 +16,21 @@ It's basically a "[factory\_girl](https://github.com/thoughtbot/factory_girl)",

[PHP](https://php.net) 5.4+ and [Composer](https://getcomposer.org) are required.

In your composer.json, simply add `"league/factory-muffin": "^3.0"` to your `"require-dev"` section:
In your composer.json, simply add `"league/factory-muffin": "^3.1"` to your `"require-dev"` section:
```json
{
"require-dev": {
"league/factory-muffin": "^3.0"
"league/factory-muffin": "^3.1"
}
}
```

[Faker](https://github.com/fzaninotto/Faker) support is provided by [Factory Muffin Faker](https://github.com/thephpleague/factory-muffin-faker). If you want to enable faker support, then you need to add `"league/factory-muffin-faker": "^2.0"` too:
[Faker](https://github.com/fzaninotto/Faker) support is provided by [Factory Muffin Faker](https://github.com/thephpleague/factory-muffin-faker). If you want to enable faker support, then you need to add `"league/factory-muffin-faker": "^2.2"` too:
```json
{
"require-dev": {
"league/factory-muffin": "^3.0",
"league/factory-muffin-faker": "^2.0"
"league/factory-muffin": "^3.1",
"league/factory-muffin-faker": "^2.2"
}
}
```
Expand Down

0 comments on commit a27a71d

Please sign in to comment.