forked from mchome/flutter_advanced_networkimage
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (29 loc) · 730 Bytes
/
.travis.yml
File metadata and controls
29 lines (29 loc) · 730 Bytes
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
language: ruby
os:
- linux
branches:
only:
- master
addons:
apt:
# Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
sources:
- ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
packages:
- lib32stdc++6
- libstdc++6
- fonts-droid-fallback
before_script:
- git clone https://github.com/flutter/flutter.git -b master --single-branch
- ./flutter/bin/flutter doctor
- gem install coveralls-lcov
script:
- ./flutter/bin/flutter test --coverage
- cd ./example
- ../flutter/bin/flutter build aot
- cd ..
after_success:
- coveralls-lcov coverage/lcov.info
cache:
directories:
- $HOME/.pub-cache