You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
samples/.travis.yml

77 lines
1.7 KiB

git:
depth: 3
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
before_script:
- git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION
- ./flutter/bin/flutter doctor
- chmod +x tool/travis_*_script.sh
cache:
cocoapods: true
directories:
- $HOME/shared/.pub-cache
notifications:
email:
brogdon+github@gmail.com
# Building master alone means that we don't run two builds for
# each pull request.
branches:
only: [master]