Skip to content

Commit 891be6d

Browse files
CircleCI configuration update (#70)
* Update .gitignore * Update CircleCI config
1 parent bc511cd commit 891be6d

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.circleci/config.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
build:
88
docker:
99
# specify the version you desire here
10-
- image: circleci/php:7.1-jessie-node-browsers
11-
10+
- image: circleci/php:7.1-node-browsers
11+
1212
# Specify service dependencies here if necessary
1313
# CircleCI maintains a library of pre-built images
1414
# documented at https://circleci.com/docs/2.0/circleci-images/
@@ -18,6 +18,8 @@ jobs:
1818

1919
steps:
2020
- checkout
21+
- run: sudo apt update # PHP CircleCI 2.0 Configuration File# PHP CircleCI 2.0 Configuration File sudo apt install zlib1g-dev libsqlite3-dev
22+
- run: sudo docker-php-ext-install zip
2123

2224
# Download and cache dependencies
2325
- restore_cache:
@@ -29,9 +31,9 @@ jobs:
2931
- run: composer install -n --prefer-dist
3032

3133
- save_cache:
34+
key: v1-dependencies-{{ checksum "composer.json" }}
3235
paths:
3336
- ./vendor
34-
key: v1-dependencies-{{ checksum "composer.json" }}
35-
37+
3638
# run tests!
3739
- run: ./vendor/bin/phpunit

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
.idea
23
vendor
34
composer.lock
4-
coverage
5+
coverage

0 commit comments

Comments
 (0)