Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(for Nick) Switch to CircleCI #66

Merged
merged 3 commits into from
Mar 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: 2

"-": &build7
working_directory: ~/sift-php
steps:
- checkout
- run: sudo composer self-update
- restore_cache:
keys:
- composer-v1-{{ checksum "composer.lock" }}
- composer-v1-
- run: composer install -n --prefer-dist
- save_cache:
key: composer-v1-{{ checksum "composer.lock" }}
paths:
- vendor
- run: composer exec phpunit -v -- --bootstrap vendor/autoload.php test

jobs:
build71:
<<: *build7
docker:
- image: circleci/php:7.1.27-stretch
build72:
<<: *build7
docker:
- image: circleci/php:7.2.16-stretch
build73:
<<: *build7
docker:
- image: circleci/php:7.3.3-stretch

workflows:
version: 2
check_compile:
jobs:
- build71
- build72
- build73
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

5 changes: 5 additions & 0 deletions CHANGES.RST
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
3.4.0 (2019-03-22)
=================

- Remove support for php <7.1

3.3.0 (2018-08-02)
=================

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sift Bindings <a href="https://travis-ci.org/SiftScience/sift-php"><img src="https://travis-ci.org/SiftScience/sift-php.svg?branch=master">
# Sift Bindings [![CircleCI](https://circleci.com/gh/SiftScience/sift-php.svg?style=svg)](https://circleci.com/gh/SiftScience/sift-php)


## Installation
Expand Down Expand Up @@ -166,7 +166,7 @@ Run the tests from the project root with [PHPUnit](http://phpunit.de) like this:

```
composer update
phpunit --bootstrap vendor/autoload.php test
composer exec phpunit -v -- --bootstrap vendor/autoload.php test
```


Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"keywords": ["sift", "sift science", "php", "fraud"],
"homepage": "https://github.com/SiftScience/sift-php",
"license": "MIT",
"version": "3.3.0",
"version": "3.4.0",
"authors": [
{
"name": "Alex Lopatin"
Expand All @@ -29,13 +29,12 @@
"email": "support@siftscience.com"
},
"require": {
"php": ">=5.0.0"
"php": ">=7.1.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

php5 support was dropped on 2019-01-01: http://php.net/supported-versions.php

},
"require-dev": {
"phpunit/phpunit": "3.7.*"
"phpunit/phpunit": "7.*"
},
"autoload": {
"classmap": ["lib/"]
}
}

Loading