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

58 lines
1.2 KiB

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: "Android tests, stable channel"
language: android
script: ./tool/travis_android_script.sh
env: FLUTTER_VERSION=stable
- name: "Flutter tests, stable channel"
language: ruby
script: ./tool/travis_flutter_script.sh
env: FLUTTER_VERSION=stable
- name: "Android tests, beta channel"
language: android
script: ./tool/travis_android_script.sh
env: FLUTTER_VERSION=beta
- name: "Flutter tests, beta channel"
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:
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]