Skip to content

Instantly share code, notes, and snippets.

@yjbanov
Last active August 6, 2019 17:31
Show Gist options
  • Save yjbanov/a98e72a3836c117a5ce8812f2f60310b to your computer and use it in GitHub Desktop.
Save yjbanov/a98e72a3836c117a5ce8812f2f60310b to your computer and use it in GitHub Desktop.
.travis.yml for Flutter
os:
- linux
sudo: false
addons:
apt:
# Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
sources:
- ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
packages:
- libstdc++6
- fonts-droid-fallback
before_script:
- git clone https://github.com/flutter/flutter.git -b beta
- ./flutter/bin/flutter doctor
script:
- ./flutter/bin/flutter test
cache:
directories:
- $HOME/.pub-cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment