Skip to content

Commit 6d3064d

Browse files
committed
Run tests in serial on travis
Minimize chance of a timeout
1 parent d032fd0 commit 6d3064d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tool/travis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ while (( "$#" )); do
3131
;;
3232
test) echo
3333
echo -e '\033[1mTASK: test\033[22m'
34-
echo -e 'pub run test'
35-
pub run test || EXIT_CODE=$?
34+
echo -e 'pub run test -j 1'
35+
pub run test -j 1 || EXIT_CODE=$?
3636
;;
3737
*) echo -e "\033[31mNot expecting TASK '${TASK}'. Error!\033[0m"
3838
EXIT_CODE=1

webdev/.mono_repo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ stages:
77
- dartfmt
88
- dartanalyzer: --fatal-infos --fatal-warnings .
99
- unit_test:
10-
- test
10+
- test: -j 1

0 commit comments

Comments
 (0)