Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Commit

Permalink
Added a build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
unfunco committed Aug 13, 2017
1 parent 4ccd761 commit f7045ab
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: php

notifications:
email:
recipients:
- daniel@honestempire.com

php:
- 7.1

before_install:
- phpenv config-rm xdebug.ini || true

before_script:
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- composer update

script:
- vendor/bin/phpspec run --format=dot

sudo: false
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# Distance

PHP library for calculating the distance between two points.
[![Build Status](https://travis-ci.org/honestempire/distance.svg?branch=master)](https://travis-ci.org/honestempire/distance)

PHP library for calculating the distance between two points. At this time, this
library implements an orthodromic distance calculator only.

## Requirements

* [PHP version 7.1+](https://secure.php.net)

## Installation and usage

Composer is the recommended and only supported method for installing this
package, the package is made available on Packagist.

```bash
$ composer require honest/distance
```

## License

Expand Down

0 comments on commit f7045ab

Please sign in to comment.