You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
#
|
|
# Author: Hari Sekhon
|
|
# Date: 2020-02-23 23:30:14 +0000 (Sun, 23 Feb 2020)
|
|
# Original: H1 2016 (Circle CI 1.x)
|
|
#
|
|
# vim:ts=2:sts=2:sw=2:et
|
|
#
|
|
# https://github.com/harisekhon/bash-tools
|
|
#
|
|
# License: see accompanying Hari Sekhon LICENSE file
|
|
#
|
|
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
|
#
|
|
# https://www.linkedin.com/in/harisekhon
|
|
#
|
|
|
|
# https://circleci.com/docs/2.0/configuration-reference
|
|
|
|
version: 2.1
|
|
jobs:
|
|
build:
|
|
# technically a docker image is a better choice than machine
|
|
# but we want to introduce some native environment variation
|
|
# between build systems in order to test the repo's build automation is robust
|
|
machine:
|
|
image: default
|
|
#image: ubuntu-1604:201903-01
|
|
# set to an actual docker image when running locally using circle_ci_job.sh
|
|
# docker image must have git installed to do the checkout
|
|
# so using harisekhon/dev:ubuntu instead of base ubuntu image
|
|
#image: harisekhon/dev:ubuntu
|
|
steps:
|
|
- checkout
|
|
- run: make init
|
|
- run: make
|
|
- run: make test
|