From 5338020b51e712aa95df002fa7314883c145defc Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Thu, 19 Jul 2018 16:48:23 -0700 Subject: [PATCH] misc: fix tests Fixes https://github.com/dart-lang/http_retry/issues/6 --- .travis.yml | 14 +++----------- pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9d8258c..3d39cbb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,13 @@ language: dart -# By default, builds are run in containers. -# https://docs.travis-ci.com/user/getting-started/#Selecting-infrastructure-(optional) -# Set `sudo: true` to disable containers if you need to use sudo in your scripts. -# sudo: true - dart: - dev -# See https://docs.travis-ci.com/user/languages/dart/ for details. + dart_task: - dartfmt - dartanalyzer - # TODO: reinstate tests once https://github.com/dart-lang/http_retry/issues/6 is fixed - # - test: --platform vm - # xvfb: false - # # Uncomment this line to run tests on the browser. - # - test: --platform firefox + - test: --platform vm + - test: --platform firefox # Only building master means that we don't run two builds for each pull request. branches: diff --git a/pubspec.yaml b/pubspec.yaml index d9261a7..cae7d83 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,5 +13,5 @@ dependencies: http: ^0.11.0 dev_dependencies: - fake_async: ^0.1.2 + fake_async: ^1.0.1 test: ^1.2.0