Skip to content
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

optimize Travis #1690

Merged
merged 3 commits into from
Feb 16, 2019
Merged

optimize Travis #1690

merged 3 commits into from
Feb 16, 2019

Conversation

guwirth
Copy link
Collaborator

@guwirth guwirth commented Feb 15, 2019

  • download only needed SQ ZIP
  • remove travis_retry: makes no sense -q suppress all output and default timeout setting of wget is 900s (>10min)

This change is Reviewable

- download only needed SQ ZIP
@guwirth guwirth added this to the 1.3.0 milestone Feb 15, 2019
@guwirth guwirth self-assigned this Feb 15, 2019
Copy link
Contributor

@ivangalkin ivangalkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @guwirth)


.travis.yml, line 52 at r1 (raw file):

        - pushd /tmp
        - |
          if [ "$SONARHOME" == "/tmp/sonarqube-6.7.6" ]; then

couln't we introduce an environment variable $SONAEVERSION?

the code like ...

SONARHOME=/tmp/${SONARVERION}
wget -q  https://binaries.sonarsource.com/Distribution/sonarqube/${SONAEVERSION}.zip
unzip -qq ${SONAEVERSION}.zip

... would do the trick

Copy link
Contributor

@ivangalkin ivangalkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @guwirth)


.travis.yml, line 52 at r1 (raw file):

SONAEVERSION

*SONARVERSION

@guwirth
Copy link
Collaborator Author

guwirth commented Feb 15, 2019

@ivangalkin yes you are right...

- makes no sense -q suppress all output and default timeout setting of wget is 900s (>10min)
@guwirth guwirth merged commit c7f982d into SonarOpenCommunity:master Feb 16, 2019
@guwirth guwirth mentioned this pull request Jul 28, 2019
@guwirth guwirth deleted the travis-optimize branch July 29, 2019 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants