Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
[WIP] CI basics (#2)
Browse files Browse the repository at this point in the history
* ci: basics
  • Loading branch information
mcataford authored Apr 5, 2019
1 parent 87961d9 commit 408b851
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#
# This basic CircleCI config is just a starting point with some common structures that you might need to get started.
#
# Make it your own and go nuts!
#
# When in doubt, look up the CircleCI documentation, it has everything you need to know: https://circleci.com/docs/
#

version: 2.1

# Jobs: tasks that your CI pipeline can do

jobs:
lint:
working_directory: ~/repo
# Pick a Docker image here: https://circleci.com/docs/2.0/circleci-images/
docker:
- image: circleci/node:latest
steps:
- checkout
- run: echo "Lint everything and make it pretty!"

test:
working_directory: ~/repo
docker:
- image: circleci/node:latest
steps:
- checkout
- run: echo "Full coverage or bust!"

build:
working_directory: ~/repo
docker:
- image: circleci/node:latest
steps:
- checkout
- run: echo "Will it build?"

deploy:
working_directory: ~/repo
docker:
- image: circleci/node:latest
steps:
- checkout
- run: echo "Ship it!"

# Workflows: stringing jobs together into a pipeline

workflows:
version: 2
build_test_lint:
jobs:
- lint
- test
- build
- deploy:
requires:
- lint
- test
- build
filters:
branches:
only:
- master




0 comments on commit 408b851

Please sign in to comment.