Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurynas Tumosa committed Oct 23, 2018
1 parent b568285 commit 3728b43
Showing 1 changed file with 7 additions and 31 deletions.
38 changes: 7 additions & 31 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,13 @@
# PHP CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-php/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/php:7.1-browsers

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mysql:9.4

working_directory: ~/repo

- image: debian:stretch
steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "composer.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: composer install -n --prefer-dist

- save_cache:
paths:
- ./vendor
key: v1-dependencies-{{ checksum "composer.json" }}

# run tests!
- run: phpunit
- run:
name: Greeting
command: echo Hello, world.
- run:
name: Print the Current Time
command: date

0 comments on commit 3728b43

Please sign in to comment.