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

Refactor .travis/install.sh. #1443

Merged
merged 10 commits into from Oct 30, 2014
Merged

Refactor .travis/install.sh. #1443

merged 10 commits into from Oct 30, 2014

Conversation

Ayrx
Copy link
Contributor

@Ayrx Ayrx commented Oct 25, 2014

Fixes #1439.

Probably a few more bits that can be refactored but it's a start.

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2462/

;;
py27)
curl -O https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
Copy link
Member

Choose a reason for hiding this comment

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

Missing a ;; here

@jenkins-cryptography
Copy link

Test FAILed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2469/

fi
fi
if [[ "${OPENSSL}" == "0.9.8" ]]; then
brew upgrade openssl
Copy link
Member

Choose a reason for hiding this comment

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

Missing a fi

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2472/

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2473/

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2474/

@reaperhulk
Copy link
Member

Looks like you need to add a flag to do non-interactive ppa addition: https://travis-ci.org/pyca/cryptography/jobs/39076978

Messing with our install scripts is difficult :)

if which pyenv > /dev/null; then
eval "$(pyenv init -)"
eval "$(pyenv init -)"
Copy link
Member

Choose a reason for hiding this comment

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

The new indent level here looks wrong.

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2475/

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2476/

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2477/

@alex
Copy link
Member

alex commented Oct 27, 2014

There seems to be a loss of coverage here somehow; not sure what to make of that. Can you try merging master in? If that does it fix it, I think it means this introduced a bug effecting which jobs are run, which means I didn't do a good enough review (because otherwise this looks like a solid cleanup!)

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2478/

@Ayrx
Copy link
Contributor Author

Ayrx commented Oct 27, 2014

Hmm, coveralls is still reporting a missing line... I have no idea where that's from though...

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2484/

@alex alex added this to the Seventh Release milestone Oct 28, 2014
docs)
curl -O https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
;;
Copy link
Member

Choose a reason for hiding this comment

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

It looks like this changes the way that we indent case statements, is there a reason for this?

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2489/

@alex
Copy link
Member

alex commented Oct 29, 2014

So there's still a coverage issue here, and coveralls is showing 100% on master, so I think it's probably real :-( The only way that could happen, I think, is if this was changing what jobs were actually running, so I think this needs a bit closer review.

It might be useful if we were able to figure out which lines weren't covered?

@Ayrx
Copy link
Contributor Author

Ayrx commented Oct 30, 2014

starts digging through travis' logs

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.cryptography.io/job/cryptography-pr-experimental/2492/

reaperhulk added a commit that referenced this pull request Oct 30, 2014
@reaperhulk reaperhulk merged commit 142abb5 into pyca:master Oct 30, 2014
@Ayrx Ayrx deleted the refactor-install-script branch December 14, 2014 05:18
@coveralls
Copy link

coveralls commented May 4, 2016

Coverage Status

Coverage decreased (-0.2%) to 99.786% when pulling 10af249 on Ayrx:refactor-install-script into 4d05537 on pyca:master.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

Re-organize install.sh to run brew and apt the minimum number of times
5 participants