Add a sample travis config

This commit is contained in:
Vishesh Handa
2019-01-18 17:11:16 +01:00
parent eb45408460
commit cd5078a301

22
.travis.yml Normal file
View File

@ -0,0 +1,22 @@
language: dart
dist: xenial
matrix:
include:
- name: Test
env: COMMAND=test
- name: Analyze
env: COMMAND=analyze
addons:
apt:
packages:
- lib32stdc++6
install:
- git clone https://github.com/flutter/flutter.git -b beta
- ./flutter/bin/flutter doctor
script:
- pwd
- ls
- ./flutter/bin/flutter $COMMAND
cache:
directories:
- $HOME/.pub-cache