From c732ce4dea381241cba9165ad51fc4bef38f2818 Mon Sep 17 00:00:00 2001 From: hunghd Date: Thu, 21 Jun 2018 11:44:23 +0700 Subject: [PATCH] update travis config --- .travis.yml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2e2ae2f..c014e43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,19 @@ -language: dart - -dart: - - dev - +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 before_script: - - git clone https://github.com/flutter/flutter.git -b alpha --depth 1 - - ./flutter/bin/flutter doctor + - git clone https://github.com/flutter/flutter.git + - ./flutter/bin/flutter doctor script: - - ./flutter/bin/flutter test + - ./flutter/bin/flutter test cache: - directories: - - $HOME/.pub-cache \ No newline at end of file + directories: + - $HOME/.pub-cache \ No newline at end of file