This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/.circleci/config.yml

44 lines
840 B
YAML
Raw Normal View History

2017-11-27 13:56:51 +00:00
version: 2
jobs:
2017-11-27 20:13:59 +00:00
build_and_test:
docker:
2017-12-27 20:59:45 +00:00
- image: circleci/php:7.1
2017-11-27 20:13:59 +00:00
steps:
- checkout
2017-12-27 20:59:45 +00:00
- restore_cache:
keys:
- v1-dependencies-{{ checksum "composer.json" }}
- v1-dependencies-
- run: composer install -n --prefer-dist
- save_cache:
paths:
- ./vendor
key: v1-dependencies-{{ checksum "composer.json" }}
2017-12-27 21:03:50 +00:00
- run: ./vendor/bin/phpunit --log-junit ~/phpunit/junit.xml
- store_test_results:
path: ~/phpunit
- store_artifacts:
path: ~/phpunit
2017-11-27 14:11:50 +00:00
workflows:
2017-11-27 20:13:59 +00:00
version: 2
build_test_and_deploy:
jobs:
- build_and_test
2017-11-29 08:50:24 +00:00
nightly:
jobs:
- build_and_test
triggers:
- schedule:
2017-12-21 19:04:17 +00:00
cron: "0 4 * * *"
2017-11-29 08:50:24 +00:00
filters:
branches:
only: master