mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Update CircleCI config
This commit is contained in:
parent
4a9e8a083f
commit
a616c1568e
1 changed files with 44 additions and 46 deletions
|
|
@ -9,7 +9,6 @@ orbs:
|
||||||
ruby: circleci/ruby@2.1.4
|
ruby: circleci/ruby@2.1.4
|
||||||
browser-tools: circleci/browser-tools@1.4.8
|
browser-tools: circleci/browser-tools@1.4.8
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
docker:
|
docker:
|
||||||
|
|
@ -41,6 +40,7 @@ jobs:
|
||||||
command: bundle exec rspec
|
command: bundle exec rspec
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: coverage
|
path: coverage
|
||||||
|
|
||||||
build-and-push:
|
build-and-push:
|
||||||
executor: docker-executor
|
executor: docker-executor
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -107,14 +107,12 @@ jobs:
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
rspec:
|
build-and-test:
|
||||||
jobs:
|
|
||||||
- test
|
|
||||||
|
|
||||||
build-and-push:
|
|
||||||
jobs:
|
jobs:
|
||||||
- test
|
- test
|
||||||
- build-and-push:
|
- build-and-push:
|
||||||
|
requires:
|
||||||
|
- test # Ensures build happens only if tests pass
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue