-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speedup travis install src test #1498
Speedup travis install src test #1498
Conversation
.travis.yml
Outdated
@@ -31,6 +31,7 @@ script: | |||
- if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash nvm.sh && shellcheck -s sh nvm.sh && shellcheck -s dash nvm.sh && shellcheck -s ksh nvm.sh ; fi | |||
- if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash install.sh bash_completion nvm-exec ; fi | |||
- if [ -n "${SHELL-}" ] && [ -n "${TEST_SUITE}" ]; then make TEST_SUITE=$TEST_SUITE URCHIN="$(npm bin)/urchin" test-$SHELL ; fi | |||
- if [ -n "$WITHOUT_CURL" ]; then sudo apt-get install curl -y ; fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps you mean to run this in after_success
, so it only runs once, and so it's not part of "script"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, sure, but I have to say, there are more things mixed here so sometimes I really don't know which one would you prefer to use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
things that are tests go in "script" - things that are setup go in a "before" step - things that are cleanup, or things like "aggregate coverage from all jobs" go in "after success".
6404678
to
8a02606
Compare
Done. |
8a02606
to
7aa3448
Compare
Fix #1489, Travis CI cache needs
curl