Commit 064d4d7001122aa589c5bc2cb59c264667be7043
1 parent
e0c63a2e
fix conflic in CI build file, cherry picked from 0.1.8 branch
Showing
1 changed file
with
61 additions
and
2 deletions
1 | -hello: | |
1 | +stages: | |
2 | + - build | |
3 | + - test | |
4 | + - deploy | |
5 | + | |
6 | +before_script: | |
7 | + - ./bootstrap | |
8 | + - ./configure --enable-gcov | |
9 | + | |
10 | +build: | |
11 | + stage: build | |
2 | 12 | script: |
3 | - - echo "Hello World" | |
13 | + - make | |
14 | + | |
15 | +coverage:dev: | |
16 | + stage: test | |
17 | + except: | |
18 | + - tags | |
19 | + script: | |
20 | + - make coverage-html | |
21 | + - ssh ci_upload@192.168.20.60 install -d taskrambler | |
22 | + - > | |
23 | + rsync -vaurl --delete tests/coverage/*/ | |
24 | + ci_upload@192.168.20.60:~/taskrambler/coverage_${CI_BUILD_ID} | |
25 | + - ssh ci_upload@192.168.20.60 rm -f taskrambler/coverage_latest | |
26 | + - > | |
27 | + ssh ci_upload@192.168.20.60 | |
28 | + ln -s coverage_${CI_BUILD_ID} taskrambler/coverage_latest | |
29 | + | |
30 | +coverage:tag: | |
31 | + stage: test | |
32 | + only: | |
33 | + - tags | |
34 | + script: | |
35 | + - make coverage-html | |
36 | + - ssh ci_upload@192.168.20.60 install -d taskrambler | |
37 | + - > | |
38 | + rsync -vaurl --delete tests/coverage | |
39 | + ci_upload@192.168.20.60:~/taskrambler/ | |
40 | + | |
41 | +docs: | |
42 | + stage: deploy | |
43 | + only: | |
44 | + - tags | |
45 | + script: | |
46 | + - make docs | |
47 | + - > | |
48 | + rsync -vaurl --delete docs/api/*/html/ | |
49 | + ci_upload@192.168.20.60:~/taskrambler/api_${CI_BUILD_ID} | |
50 | + - ssh ci_upload@192.168.20.60 rm -f taskrambler/api_latest | |
51 | + - > | |
52 | + ssh ci_upload@192.168.20.60 | |
53 | + ln -s api_${CI_BUILD_ID} taskrambler/api_latest | |
54 | + | |
55 | +dist: | |
56 | + stage: deploy | |
57 | + only: | |
58 | + - tags | |
59 | + script: | |
60 | + - make dist | |
61 | + - ssh ci_upload@192.168.20.60 install -d taskrambler/artifacts | |
62 | + - scp taskrambler-*.tar.gz ci_upload@192.168.20.60:~/taskrambler/artifacts | ... | ... |
Please
register
or
login
to post a comment