forked from bcgit/pc-dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
40 lines (34 loc) · 826 Bytes
/
.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
variables:
GIT_DEPTH: 10
stages:
- test
- score
test-code-vm:
stage: test
script:
- "export PATH=$PATH:/usr/lib/dart/bin:$HOME/.pub-cache/bin; \
dart pub get; \
dart pub upgrade; \
dart pub run test;"
test-code-node:
stage: test
script:
- "export PATH=$PATH:/usr/lib/dart/bin:$HOME/.pub-cache/bin; \
dart pub get; \
dart pub upgrade; \
dart pub run test --timeout 15m -p node"
test-code-chrome:
stage: test
script:
- "export PATH=$PATH:/usr/lib/dart/bin:$HOME/.pub-cache/bin; \
dart pub get; \
dart pub upgrade; \
dart pub run test --timeout 15m -p chrome"
score-pana:
stage: score
script:
- "export PATH=$PATH:/usr/lib/dart/bin:$HOME/.pub-cache/bin; \
dart pub get; \
dart pub upgrade; \
dart pub global activate pana; \
pana ."