Skip to content
Snippets Groups Projects
Commit 55ebe969 authored by ale's avatar ale
Browse files

Switch to standard CI

parent 6bc5f795
No related branches found
No related tags found
No related merge requests found
stages:
- test
- build_src
- build_pkg
- upload
test:
stage: test
image: "ai/test:go"
script:
- "go get -u github.com/jstemmer/go-junit-report"
- "go-test-runner ./... 2>&1 | $HOME/go/bin/go-junit-report > junit.xml"
artifacts:
reports:
junit: junit.xml
build:src:
stage: build_src
image: "ai/build:stretch"
script: "build-dsc"
artifacts:
paths:
- build-deb/
only:
- master
build:pkg:
stage: build_pkg
image: "ai/build:stretch"
script: "build-deb"
dependencies:
- build:src
artifacts:
paths:
- output-deb/
only:
- master
upload:pkg:
stage: upload
image: "ai/pkg:base"
script: "upload-packages -r ai3"
dependencies:
- build:pkg
only:
- master
include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-common.yml"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment