mirror of https://github.com/flutter/samples.git
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.
35 lines
664 B
35 lines
664 B
os:
|
|
- linux
|
|
sudo: false
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- libstdc++6
|
|
- fonts-droid
|
|
git:
|
|
depth: 3
|
|
env:
|
|
- FLUTTER_VERSION=stable
|
|
- FLUTTER_VERSION=dev
|
|
matrix:
|
|
allow_failures:
|
|
- env: FLUTTER_VERSION=dev
|
|
before_script:
|
|
- git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION
|
|
- ./flutter/bin/flutter doctor
|
|
- chmod +x travis_script.sh
|
|
script:
|
|
- ./travis_script.sh
|
|
cache:
|
|
directories:
|
|
- $HOME/shared/.pub-cache
|
|
notifications:
|
|
email:
|
|
brogdon+github@gmail.com
|
|
|
|
# Only building master means that we don't run two builds for each pull request.
|
|
branches:
|
|
only: [master]
|