forked from cyndibaby905/13_listview_demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (55 loc) · 1.71 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
matrix:
include:
- os: linux
language: android
dist: trusty
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-28
- sys-img-armeabi-v7a-google_apis-28
- extra-android-m2repository
- extra-google-m2repository
- extra-google-android-support
jdk: oraclejdk8
sudo: false
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:
- libstdc++6
- fonts-droid
before_script:
- yes | sdkmanager --update
script:
- yes | flutter doctor --android-licenses
- flutter doctor && flutter -v build apk
- os: osx
language: objective-c
osx_image: xcode10.2
before_script:
- pip install six
- brew update
- brew uninstall --ignore-dependencies -f libimobiledevice
- brew uninstall --ignore-dependencies -f usbmuxd
- brew install --HEAD usbmuxd
- brew unlink usbmuxd
- brew link usbmuxd
- brew install --HEAD libimobiledevice
- brew install ideviceinstaller
script:
- flutter doctor && flutter -v build ios --no-codesign
before_install:
- git clone -b 'v1.5.4-hotfix.2' --depth 1 https://github.com/flutter/flutter.git
- export PATH="$PATH:`pwd`/flutter/bin"
cache:
directories:
- $HOME/.pub-cache