-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from DhruvJ22/circleci-project-setup
Initialize CircleCI
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Couldn't automatically generate a config from your source code. | ||
# This is a generic template to serve as a base for your custom config | ||
# See: https://circleci.com/docs/configuration-reference | ||
version: 2.1 | ||
jobs: | ||
test: | ||
docker: | ||
- image: cimg/base:stable | ||
steps: | ||
- checkout | ||
# Replace this with a real test runner invocation | ||
#- run: | ||
# name: Run tests | ||
# command: echo 'replace me with real tests!' && false | ||
build: | ||
docker: | ||
- image: cimg/base:stable | ||
steps: | ||
- checkout | ||
# Replace this with steps to build a package, or executable | ||
- run: | ||
name: Build an artifact | ||
command: touch example.txt | ||
- store_artifacts: | ||
path: example.txt | ||
deploy: | ||
docker: | ||
- image: cimg/base:stable | ||
steps: | ||
# Replace this with steps to deploy to users | ||
- run: | ||
name: deploy | ||
command: '#e.g. ./deploy.sh' | ||
workflows: | ||
example: | ||
jobs: | ||
- test | ||
- build: | ||
requires: | ||
- test | ||
- deploy: | ||
requires: | ||
- test |