Update pubspec for dart 2.0 compliance (#54)
Fluro's pubspec is now compatible with Dart 2.0 when it comes out
This commit is contained in:
parent
ad93ef6711
commit
5090537969
24
.travis.yml
24
.travis.yml
|
@ -1,13 +1,7 @@
|
||||||
language: dart
|
|
||||||
dart:
|
|
||||||
- dev
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
env:
|
|
||||||
- FLUTTER_VERSION=dev
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
|
@ -16,21 +10,21 @@ addons:
|
||||||
- libstdc++6
|
- libstdc++6
|
||||||
- fonts-droid
|
- fonts-droid
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.pub-cache
|
||||||
|
|
||||||
|
env:
|
||||||
|
- FLUTTER_VERSION=dev
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: FLUTTER_VERSION=dev
|
- env: FLUTTER_VERSION=dev
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- pwd
|
|
||||||
- git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION
|
- git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION
|
||||||
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
|
- $TRAVIS_BUILD_DIR/flutter/bin/flutter doctor
|
||||||
- flutter doctor
|
|
||||||
script:
|
script:
|
||||||
- pwd
|
- ./tool/travis.sh
|
||||||
- ./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:
|
|
||||||
directories:
|
|
||||||
- $HOME/.pub-cache
|
|
|
@ -16,7 +16,7 @@ dependencies:
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
test: ^0.12.37
|
test: ">=0.12.30+3 <0.13.0"
|
||||||
|
|
||||||
flutter:
|
flutter:
|
||||||
uses-material-design: false
|
uses-material-design: false
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
$TRAVIS_BUILD_DIR/flutter/bin/flutter test --coverage
|
Loading…
Reference in New Issue