forked from Workiva/platform_detect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmithy.yml
29 lines (24 loc) · 733 Bytes
/
smithy.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
project: dart
language: dart
env:
- CODECOV_TOKEN='ba029200-53f5-4804-87b4-261d4fac4479'
# dart 1.19.1, built from https://github.com/Workiva/smithy-runner-dart/tree/0.0.4
runner_image: drydock-prod.workiva.org/workiva/smithy-runner-dart:74173
script:
- pub get
- pub run dart_dev format --check
- pub run dart_dev analyze
- pub run dart_dev test
- xvfb-run pub run dart_dev coverage --no-html
after_script:
- pub run dart_dev docs --no-open
- cd doc/api && tar -zcvf api.tar.gz * && cd ../..
- tar czvf platform_detect.pub.tgz LICENSE README.md pubspec.yaml lib/
- ./tool/codecov.sh
artifacts:
build:
- ./pubspec.lock
documentation:
- ./doc/api/api.tar.gz
pub:
- ./platform_detect.pub.tgz