Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 62b5a96

Browse files
committed
chore(travis): don't call grunt:package for unit tests
Unit tests are run against the src files or against the unminified build files (tests:modules). This shaves off 1 minute of the unit test task. Nice to have if you just want to know that they pass
1 parent 527bcd0 commit 62b5a96

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/travis/before_build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ fi
1212
npm install -g grunt-cli
1313

1414
if [ $JOB != "ci-checks" ]; then
15-
grunt package
15+
# unit tests test don't test against packaged (minified) files
16+
if [ $JOB != "unit" ]; then
17+
grunt package
18+
fi
1619
echo "wait_for_browser_provider"
1720
./scripts/travis/wait_for_browser_provider.sh
1821
fi

0 commit comments

Comments
 (0)