This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed5c17c
commit 956ca82
Showing
2 changed files
with
69 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
matrix: | ||
include: | ||
- os: linux | ||
language: android | ||
licenses: | ||
- 'android-sdk-preview-license-.+' | ||
- 'android-sdk-license-.+' | ||
- 'google-gdk-license-.+' | ||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-25.0.3 | ||
- android-25 | ||
- sys-img-armeabi-v7a-google_apis-25 | ||
- 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: | ||
- wget http://services.gradle.org/distributions/gradle-3.5-bin.zip | ||
- unzip -qq gradle-3.5-bin.zip | ||
- export GRADLE_HOME=$PWD/gradle-3.5 | ||
- export PATH=$GRADLE_HOME/bin:$PATH | ||
- gradle -v | ||
- android list targets | ||
- echo no | android create avd --force -n test -t android-25 --abi armeabi-v7a --tag google_apis | ||
- git clone https://github.com/flutter/flutter.git --depth 1 | ||
- export PATH=`pwd`/flutter/bin:$PATH | ||
- ./flutter/bin/flutter doctor | ||
script: | ||
- (cd scripts; pub get) | ||
- dart scripts/cli.dart format | ||
- dart scripts/cli.dart test | ||
- dart scripts/cli.dart build --apk | ||
- os: osx | ||
language: generic | ||
osx_image: xcode8.3 | ||
before_script: | ||
- pip install six | ||
- brew update | ||
- brew install --HEAD libimobiledevice | ||
- brew install ideviceinstaller | ||
- brew install ios-deploy | ||
- git clone https://github.com/flutter/flutter.git --depth 1 | ||
- export PATH=`pwd`/flutter/bin:$PATH | ||
- ./flutter/bin/flutter doctor | ||
script: | ||
- (cd scripts; pub get) | ||
- dart scripts/cli.dart build --ipa | ||
|
||
cache: | ||
directories: | ||
- $HOME/.pub-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters