update travis config
This commit is contained in:
parent
d7e6dc60e0
commit
7cb9ccec56
17
.travis.yml
17
.travis.yml
|
@ -1,24 +1,33 @@
|
||||||
language: dart
|
language: dart
|
||||||
dart:
|
dart:
|
||||||
- "dev/release/2.0.0-dev.61.0"
|
- dev
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
|
env:
|
||||||
|
- FLUTTER_VERSION=dev
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
# Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
|
|
||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
|
- ubuntu-toolchain-r-test
|
||||||
packages:
|
packages:
|
||||||
- libstdc++6
|
- libstdc++6
|
||||||
- fonts-droid
|
- fonts-droid
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- env: FLUTTER_VERSION=dev
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- ./scripts/travis_setup.sh
|
- git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION
|
||||||
- ./flutter/bin/flutter doctor
|
- ./flutter/bin/flutter doctor
|
||||||
script:
|
script:
|
||||||
- ./flutter/bin/flutter test --coverage
|
- ./flutter/bin/flutter test --coverage
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash) -t $CODE_COV_TOKEN
|
- bash <(curl -s https://codecov.io/bash) -t $CODE_COV_TOKEN
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.pub-cache
|
- $HOME/.pub-cache
|
|
@ -1 +0,0 @@
|
||||||
git clone https://github.com/flutter/flutter.git -b alpha --depth 1
|
|
Loading…
Reference in New Issue