Skip to content

Commit

Permalink
Create Circleci config
Browse files Browse the repository at this point in the history
  • Loading branch information
ehrmann committed Mar 22, 2019
1 parent c9db8b0 commit 4f146d6
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 12 deletions.
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.

2 changes: 1 addition & 1 deletion 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

0 comments on commit 4f146d6

Please sign in to comment.