Skip to content

Commit

Permalink
chore: setup CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
faustbrian committed Oct 16, 2018
1 parent d856b06 commit 388c75a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: 2
jobs:
build:
docker:
- image: circleci/php:7.2-cli
working_directory: ~/arkecosystem/client
steps:
- checkout
- run:
name: Update System Dependencies
command: sudo apt-get update
- run:
name: Update Composer
command: sudo composer self-update
- restore_cache:
name: Restore Composer Package Cache
keys:
- v1-dependencies-{{ checksum "composer.json" }}
- v1-dependencies-
- run:
name: Install Composer Dependencies
command: composer install -n --prefer-dist
- save_cache:
name: Save Composer Package Cache
paths:
- ./vendor
key: v1-dependencies-{{ checksum "composer.json" }}
- run:
name: Run Tests
command: ./vendor/bin/phpunit

0 comments on commit 388c75a

Please sign in to comment.