Minor changes parametrizing the Makefile and CircleCI config.

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-09-04 16:14:44 +02:00
parent 70c01f7bcc
commit 72981365c9
3 changed files with 61 additions and 9 deletions
+31
View File
@@ -0,0 +1,31 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.9
steps:
- checkout
- run: make
- persist_to_workspace:
paths:
- build
- output
spec_check:
docker:
- image: bbvalabsci/kapow-spec-test-suite:latest
steps:
- attach_workspace:
at: /tmp/workspace
- run: install /tmp/workspace/build/kapow /usr/bin
- run: behave
workflows:
version: 2
build_and_test:
jobs:
- build
- spec_check
requires:
- build