-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd168e1
commit 23accdb
Showing
1 changed file
with
10 additions
and
26 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 |
---|---|---|
@@ -1,32 +1,16 @@ | ||
# 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!' | ||
build: | ||
docker: | ||
- image: cimg/base:stable | ||
steps: | ||
- checkout | ||
# Replace this with steps to build a package, or executable | ||
|
||
- run: | ||
name: Create hello.txt | ||
command: echo "Hello, World!" > hello.txt | ||
|
||
- run: | ||
name: Build an artifact | ||
command: touch example.txt | ||
- store_artifacts: | ||
path: example.txt | ||
workflows: | ||
example: | ||
jobs: | ||
- test | ||
- build: | ||
requires: | ||
- test | ||
name: Commit changes | ||
command: | | ||
git add hello.txt | ||
git commit -m "Add 'hello.txt' with 'Hello, World!'" | ||
git push |