-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
40 lines (36 loc) · 1.32 KB
/
.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
38
39
40
sudo: false
cache:
directories:
- $HOME/.cocoapods
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
matrix:
include:
- language: android
jdk: oraclejdk8
android:
components:
- build-tools-27.0.3
- build-tools-28.0.3
- android-27
- android-28
install:
- curl -o flutter.tar.tar.xz https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_v1.0.0-stable.tar.xz
- tar -xf flutter.tar.tar.xz
- ./flutter/bin/flutter doctor
- ./flutter/bin/flutter packages get
script:
- ./flutter/bin/cache/dart-sdk/bin/dartfmt -n --set-exit-if-changed example lib test
- ./flutter/bin/cache/dart-sdk/bin/dartanalyzer example lib test
- ./flutter/bin/flutter test
- language: objective-c
osx_image: xcode10
install:
- curl -o flutter.zip https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_v1.0.0-stable.zip
- unzip -q flutter.zip
- ./flutter/bin/flutter doctor
- ./flutter/bin/flutter packages get
script:
- ./flutter/bin/cache/dart-sdk/bin/dartfmt -n --set-exit-if-changed example lib test
- ./flutter/bin/cache/dart-sdk/bin/dartanalyzer example lib test
- ./flutter/bin/flutter test