I can’t quite wrap my head around the documentation and the examples to figure out what I need.
I have a repo that contains golang and node_js code. I want to run two stages that
- tests/builds the go code
- tests/builds the js code
and then the output of both those builds should run in an
after_successstep to build a single docker image with the compiled files.
I’ve tried with the
matrix but am getting two docker images built:
services: - docker matrix: include: - language: go go: - "1.11" script: - make test - make build - language: node_js node_js: - "7" script: yarn run build after_success: - docker build