Skip to content

Commit

Permalink
Changed "pub" command to "dart pub".
Browse files Browse the repository at this point in the history
  • Loading branch information
hoylen committed May 15, 2022
1 parent e4d71b1 commit 4675fdc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chrome.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
run: dart pub get

- name: Test chrome
run: pub run test -p chrome
run: dart pub run test -p chrome
2 changes: 1 addition & 1 deletion .github/workflows/node.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
run: dart pub get

- name: Test node
run: pub run test -p node
run: dart pub run test -p node
2 changes: 1 addition & 1 deletion .github/workflows/vm.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
run: dart pub get

- name: Test dartvm
run: pub run test -p vm
run: dart pub run test -p vm
13 changes: 8 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,27 @@ test-code-vm:
stage: test
script:
- "export PATH=$PATH:/usr/lib/dart/bin:$HOME/.pub-cache/bin; \
pub get; pub run test;"
dart pub get; \
dart pub run test;"

test-code-node:
stage: test
script:
- "export PATH=$PATH:/usr/lib/dart/bin:$HOME/.pub-cache/bin; \
pub get; pub run test --timeout 15m -p node"
dart pub get; \
dart pub run test --timeout 15m -p node"

test-code-chrome:
stage: test
script:
- "export PATH=$PATH:/usr/lib/dart/bin:$HOME/.pub-cache/bin; \
pub get; pub run test --timeout 15m -p chrome"
dart pub get; \
dart pub run test --timeout 15m -p chrome"

score-pana:
stage: score
script:
- "export PATH=$PATH:/usr/lib/dart/bin:$HOME/.pub-cache/bin; \
pub get; \
pub global activate pana; \
dart pub get; \
dart pub global activate pana; \
pana ."
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ language: dart
dart:
- stable
script:
- pub run test
- pub global activate pana
- pana .
- dart pub run test
- dart pub global activate pana
- dart pana .

0 comments on commit 4675fdc

Please sign in to comment.