forked from square/in-app-payments-flutter-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (50 loc) · 1.45 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
matrix:
include:
- language: android
sudo: false
jdk: oraclejdk8
os:
- linux
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
android:
components:
- tools
- platform-tools
- tools
- build-tools-28.0.3
- android-28
- extra-google-google_play_services
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_install:
- cd example
- yes | sdkmanager "platforms;android-28"
install:
- git clone https://github.com/flutter/flutter.git -b stable --depth 1
- ./flutter/bin/flutter doctor
script:
- ./flutter/bin/flutter -v build apk
- language: objective-c
os: osx
osx_image: xcode11
cache:
directories:
- $HOME/.pub-cache
before_install:
- cd example
- sudo gem install cocoapods
- pod setup
- git clone https://github.com/flutter/flutter.git -b stable --depth 1
- ./flutter/bin/flutter doctor
- pod repo update
script:
- ./flutter/bin/flutter -v build ios --no-codesign