Skip to content

Commit

Permalink
Merge pull request #81 from achilleasa/switch-to-flutter-pub-invocations
Browse files Browse the repository at this point in the history
Change 'pub' invocations to 'flutter pub' for CI runs
  • Loading branch information
achilleasa authored Nov 2, 2022
2 parents 0231485 + 2032958 commit f1844ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
- gem install coveralls-lcov
script:
- export PATH=$PATH:"${TRAVIS_HOME}/.pub-cache/bin"
- pub get
- dart pub get
- dart format --set-exit-if-changed .
- dartanalyzer --fatal-warnings --fatal-hints --fatal-lints ./
- dart analyze --fatal-warnings --fatal-infos ./
- AMQP_RUN_TLS_TESTS=true dart --pause-isolates-on-exit --disable-service-auth-codes --enable-vm-service=9292 test/run_all.dart &
- pub global activate coverage
- pub global run coverage:collect_coverage --port=9292 --out=coverage/coverage.json --wait-paused --resume-isolates
- pub global run coverage:format_coverage --lcov --in=coverage/coverage.json --out=coverage/lcov.info --packages=.packages --report-on=lib --check-ignore
- dart pub global activate coverage
- dart pub global run coverage:collect_coverage --port=9292 --out=coverage/coverage.json --wait-paused --resume-isolates
- dart pub global run coverage:format_coverage --lcov --in=coverage/coverage.json --out=coverage/lcov.info --report-on=lib --check-ignore
after_success:
- coveralls-lcov coverage/lcov.info
cache:
Expand Down
5 changes: 0 additions & 5 deletions test/lib/queue_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ import "dart:async";
import 'package:dart_amqp/dart_amqp.dart';
import "package:test/test.dart";

import "package:dart_amqp/src/client.dart";
import "package:dart_amqp/src/protocol.dart";
import "package:dart_amqp/src/enums.dart";
import "package:dart_amqp/src/exceptions.dart";

import "mocks/mocks.dart" as mock;

// This test expects a local running rabbitmq instance at the default port
Expand Down

0 comments on commit f1844ca

Please sign in to comment.