mirror of
https://github.com/flutter/samples.git
synced 2026-04-07 04:02:13 +00:00
Adding Travis config for jsonexample. (#4)
This commit is contained in:
27
.travis.yml
Normal file
27
.travis.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
os:
|
||||
- linux
|
||||
sudo: false
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- libstdc++6
|
||||
- fonts-droid
|
||||
git:
|
||||
depth: 3
|
||||
env:
|
||||
- FLUTTER_VERSION=beta
|
||||
- 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
|
||||
Reference in New Issue
Block a user