mirror of
https://github.com/flutter/samples.git
synced 2025-11-13 00:08:24 +00:00
Adds iOS builds for add-to-app to Travis setup (#244)
This commit is contained in:
51
.travis.yml
51
.travis.yml
@@ -1,40 +1,58 @@
|
||||
os: linux
|
||||
dist: trusty
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- libstdc++6
|
||||
- fonts-noto
|
||||
|
||||
git:
|
||||
depth: 3
|
||||
|
||||
android:
|
||||
components:
|
||||
- build-tools-28.0.3
|
||||
- android-28
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- name: "iOS tests, stable channel"
|
||||
os: osx
|
||||
osx_image: xcode11.2
|
||||
language: objective-c
|
||||
script: ./tool/travis_ios_script.sh
|
||||
env: FLUTTER_VERSION=stable
|
||||
|
||||
- name: "Android tests, stable channel"
|
||||
os: linux
|
||||
dist: trusty
|
||||
language: android
|
||||
android:
|
||||
components:
|
||||
- build-tools-28.0.3
|
||||
- android-28
|
||||
script: ./tool/travis_android_script.sh
|
||||
env: FLUTTER_VERSION=stable
|
||||
|
||||
- name: "Flutter tests, stable channel"
|
||||
os: linux
|
||||
dist: trusty
|
||||
language: ruby
|
||||
script: ./tool/travis_flutter_script.sh
|
||||
env: FLUTTER_VERSION=stable
|
||||
|
||||
- name: "iOS tests, beta channel"
|
||||
os: osx
|
||||
osx_image: xcode11.2
|
||||
language: objective-c
|
||||
script: ./tool/travis_ios_script.sh
|
||||
env: FLUTTER_VERSION=beta
|
||||
|
||||
- name: "Android tests, beta channel"
|
||||
os: linux
|
||||
dist: trusty
|
||||
language: android
|
||||
android:
|
||||
components:
|
||||
- build-tools-28.0.3
|
||||
- android-28
|
||||
script: ./tool/travis_android_script.sh
|
||||
env: FLUTTER_VERSION=beta
|
||||
|
||||
- name: "Flutter tests, beta channel"
|
||||
os: linux
|
||||
dist: trusty
|
||||
language: ruby
|
||||
script: ./tool/travis_flutter_script.sh
|
||||
env: FLUTTER_VERSION=beta
|
||||
|
||||
allow_failures:
|
||||
- env: FLUTTER_VERSION=beta
|
||||
|
||||
@@ -44,6 +62,7 @@ before_script:
|
||||
- chmod +x tool/travis_*_script.sh
|
||||
|
||||
cache:
|
||||
cocoapods: true
|
||||
directories:
|
||||
- $HOME/shared/.pub-cache
|
||||
|
||||
|
||||
Reference in New Issue
Block a user