Added yaml inheritance to .circleci/config.yml

This commit is contained in:
orangemug 2018-01-19 15:06:23 +00:00
parent cb4f5ea963
commit e0ff342702

View file

@ -1,12 +1,6 @@
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: node:8
- image: selenium/standalone-chrome:3.1.0
working_directory: ~/repo
steps:
templates:
steps: &steps
- checkout
- run:
name: "Create artifacts directory"
@ -30,3 +24,11 @@ jobs:
- store_artifacts:
path: /tmp/artifacts
destination: /artifacts
jobs:
build-linux-node-v8:
docker:
# specify the version you desire here
- image: node:8
- image: selenium/standalone-chrome:3.1.0
working_directory: ~/repo
steps: *steps