travis
This commit is contained in:
parent
8d96f2230b
commit
6c44fb7103
3 changed files with 11 additions and 11 deletions
|
@ -1,11 +0,0 @@
|
|||
image: php:7.1-alpine
|
||||
|
||||
before_script:
|
||||
- apk update
|
||||
- apk add git
|
||||
- curl -sS https://getcomposer.org/installer | php
|
||||
- php composer.phar install
|
||||
|
||||
test:
|
||||
script:
|
||||
- php composer.phar test
|
9
.travis.yml
Normal file
9
.travis.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
language: php
|
||||
php:
|
||||
- 7.1
|
||||
- 7.2
|
||||
- 7.3
|
||||
- 7.4
|
||||
install:
|
||||
- composer install
|
||||
script: composer test
|
|
@ -1,5 +1,7 @@
|
|||
# Flatrr
|
||||
|
||||
[![Build Status](https://travis-ci.org/jobyone/flatrr.svg?branch=main)](https://travis-ci.org/jobyone/flatrr)
|
||||
|
||||
## What Flatrr does
|
||||
|
||||
Flatrr is a utility library for accessing arrays via flattened key names. So, for example, rather than using `$arr['foo']['bar']` you could use `$arr['foo.bar']`. Mostly this is useful if you want to use string building to make the keys you're going to use to access an array.
|
||||
|
|
Loading…
Reference in a new issue