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
26
.travis.yml
26
.travis.yml
|
@ -1,13 +1,7 @@
|
|||
language: dart
|
||||
dart:
|
||||
- dev
|
||||
os:
|
||||
- linux
|
||||
sudo: false
|
||||
|
||||
env:
|
||||
- FLUTTER_VERSION=dev
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
|
@ -16,21 +10,21 @@ addons:
|
|||
- libstdc++6
|
||||
- fonts-droid
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.pub-cache
|
||||
|
||||
env:
|
||||
- FLUTTER_VERSION=dev
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: FLUTTER_VERSION=dev
|
||||
|
||||
before_script:
|
||||
- pwd
|
||||
- git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION
|
||||
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
|
||||
- flutter doctor
|
||||
- $TRAVIS_BUILD_DIR/flutter/bin/flutter doctor
|
||||
script:
|
||||
- pwd
|
||||
- ./flutter/bin/flutter test --coverage
|
||||
- ./tool/travis.sh
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash) -t $CODE_COV_TOKEN
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.pub-cache
|
||||
- bash <(curl -s https://codecov.io/bash) -t $CODE_COV_TOKEN
|
|
@ -16,7 +16,7 @@ dependencies:
|
|||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
test: ^0.12.37
|
||||
test: ">=0.12.30+3 <0.13.0"
|
||||
|
||||
flutter:
|
||||
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