Showing
1 changed file
with
27 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
1 | +stages: | ||
2 | + - build | ||
3 | + - test | ||
4 | + - deploy | ||
5 | + | ||
6 | +before_script: | ||
7 | + - ./bootstrap | ||
8 | + - ./configure | ||
9 | + | ||
10 | +build: | ||
11 | + stage: build | ||
12 | + script: | ||
13 | + - make | ||
14 | + | ||
15 | +# test: | ||
16 | +# stage: test | ||
17 | +# script: | ||
18 | +# - make test | ||
19 | + | ||
20 | +dist: | ||
21 | + stage: deploy | ||
22 | + only: | ||
23 | + - tags | ||
24 | + script: | ||
25 | + - make dist | ||
26 | + - ssh ci_upload@192.168.20.60 install -d trdata/artifacts | ||
27 | + - scp libtrdata-*.tar.gz ci_upload@192.168.20.60:~/trdata/artifacts |
Please
register
or
login
to post a comment