Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

misc: fix tests #7

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't a large package, so these should be tested together to avoid wasting cycles on spinning up an unnecessary VM.


# Only building master means that we don't run two builds for each pull request.
branches:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ dependencies:
http: ^0.11.0

dev_dependencies:
fake_async: ^0.1.2
fake_async: ^1.0.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you changing the lower bound?

test: ^1.2.0