-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
73 lines (56 loc) · 1.68 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
stages:
- test
- build
- test_build
- deploy
build:
stage: build
script:
- docker build --tag ecf_classify:test .
test_rspec:
stage: test
script:
- bundle install
- rake build
- rake install
- rake spec
test_aruba:
stage: test
script:
- bundle install
- rake build
- rake install
- rake features
test_build_help:
stage: test_build
script:
- docker run --rm ecf_classify:test ecf_classify help
test_build_help_groups:
stage: test_build
script:
- docker run --rm ecf_classify:test ecf_classify help groups
test_build_help_subgroups:
stage: test_build
script:
- docker run --rm ecf_classify:test ecf_classify help subgroups
test_build_exec_groups:
stage: test_build
script:
- docker run --rm -v $(pwd)/spec:/spec ecf_classify:test ecf_classify groups /spec/support/sequences.fa
test_build_exec_subgroups:
stage: test_build
script:
- docker run --rm -v $(pwd)/spec:/spec ecf_classify:test ecf_classify subgroups /spec/support/sequences.fa
test_build_exec_groups_prob:
stage: test_build
script:
- docker run --rm -v $(pwd)/spec:/spec ecf_classify:test ecf_classify groups /spec/support/sequences.fa -p /spec/support/test.prob
- "[ -e spec/support/test.prob ]"
- docker run --rm -v $(pwd)/spec:/spec ecf_classify:test rm /spec/support/test.prob
test_build_exec_subgroups_prob:
stage: test_build
script:
- docker run --rm -v $(pwd)/spec:/spec ecf_classify:test ecf_classify subgroups /spec/support/sequences.fa -p /spec/support/test.prob
- "[ -e spec/support/test.prob ]"
- docker run --rm -v $(pwd)/spec:/spec ecf_classify:test rm /spec/support/test.prob