Skip to content

Commit

Permalink
Change to CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Jun 22, 2019
1 parent 2886d23 commit 82945d8
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 31 deletions.
49 changes: 49 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
version: 2.1

orbs:
bedrock:
executors:
node-10:
docker:
- image: 'circleci/node:10-stretch'
php-73:
docker:
- image: 'circleci/php:7.3-stretch'
php-72:
docker:
- image: 'circleci/php:7.2-stretch'
php-71:
docker:
- image: 'circleci/php:7.1-stretch'
jobs:
build-php:
parameters:
executor:
type: executor
executor: << parameters.executor >>
steps:
- run: php -v
- checkout
- restore_cache:
keys:
- composer-v1-{{ checksum "composer.lock" }}
- composer-v1-
- run: composer install -n --prefer-dist
- run: composer test
- save_cache:
key: composer-v1-{{ checksum "composer.lock" }}
paths:
- vendor

This comment has been minimized.

Copy link
@QWp6t

QWp6t Jun 23, 2019

Member

We should also cache web/wp


workflows:
build:
jobs:
- bedrock/build-php:
name: build-php-73
executor: bedrock/php-73
- bedrock/build-php:
name: build-php-72
executor: bedrock/php-72
- bedrock/build-php:
name: build-php-71
executor: bedrock/php-71
5 changes: 2 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/.github export-ignore
/.gitattributes export-ignore
/.circleci export-ignore
/.editorconfig export-ignore
/.travis.yml export-ignore
/.gitattributes export-ignore
/phpcs.xml export-ignore
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

0 comments on commit 82945d8

Please sign in to comment.