-
Notifications
You must be signed in to change notification settings - Fork 60
/
.travis.yml
37 lines (37 loc) · 869 Bytes
/
.travis.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
language: dart
os:
- linux
sudo: required
dist: trusty
dart:
- 2.12.2
addons:
chrome: stable
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- fonts-droid
before_script:
- git clone https://github.com/flutter/flutter.git -b stable --depth 1
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
- flutter doctor
- chmod +x scripts/code_coverage.sh
script:
- cd packages/expression_language
- pub get
- ../../scripts/code_coverage.sh
- cp coverage/lcov.info ../../expression_language.lcov
- cd ../dynamic_forms
- pub get
- ../../scripts/code_coverage.sh
- cp coverage/lcov.info ../../dynamic_forms.lcov
- cd ../flutter_dynamic_forms
- flutter pub get
- flutter test
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- $HOME/.pub-cache