Files
kapow/.circleci/config.yml
Roberto Abdelkader Martínez Pérez 8cc01c804e Change to ksts working dir to find the features
2019-09-04 16:29:09 +02:00

34 lines
728 B
YAML

# 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.12
steps:
- checkout
- run: make
- persist_to_workspace:
root: .
paths:
- build
- output
spec_check:
docker:
- image: bbvalabsci/kapow-spec-test-suite:latest
steps:
- working_directory: /usr/src/ksts
- 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