Skip to content

Commit

Permalink
Adding build/testing against PHP 7.4. and bumped the installed PHPUni…
Browse files Browse the repository at this point in the history
…t version.
  • Loading branch information
allebb committed Jan 30, 2020
1 parent 6acf308 commit 6517da3
Show file tree
Hide file tree
Showing 5 changed files with 381 additions and 59 deletions.
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
Expand All @@ -14,9 +11,6 @@ php:

matrix:
allow_failures:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: nightly
Expand Down
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-2015 Bobby Allen
Copyright (c) 2014-2020 Bobby Allen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,21 @@ This client library is released under the [MIT license](LICENSE).

This library is developed and tested for PHP 5.3+

This library is unit tested against PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1 and HHVM!
This library is unit tested against PHP 5.6, 7.0, 7.1 , 7.2, 7.3 and 7.4!

## Setup

I highly recommend the use of [Composer](https://getcomposer.org/) when installing and using this library, it is not mandatory however and you can use a provided 'include' script to load in this library if required.

### Composer

To add this library to your project, edit your ``composer.json`` file and add the following lines (or update your existing ``require`` section with the library like so):
Simply require this package as follows:

```shell
composer require ballen/distical
```

Alternatively, you can add this library to your project, edit your ``composer.json`` file and add the following lines (or update your existing ``require`` section with the library like so):

```php
"require": {
Expand All @@ -35,7 +41,7 @@ To add this library to your project, edit your ``composer.json`` file and add th
Then install the package like so:

```
composer install ballen/distical --no-dev
composer install
```

### Standalone
Expand Down Expand Up @@ -70,7 +76,7 @@ A set of working examples can be found in the ``/examples`` directory, feel free

This library is fully unit tested using [PHPUnit](https://phpunit.de/).

I use TravisCI for continuous integration, which triggers tests for PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1 and HHVM everytime a commit is pushed.
I use TravisCI for continuous integration, which triggers tests for PHP 5.6, 7.0, 7.1 , 7.2, 7.3 and 7.4 everytime a commit is pushed.

If you wish to run the tests yourself you should run the following:

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "4.3.*"
"phpunit/phpunit": "4.8.*"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 6517da3

Please sign in to comment.