Skip to content

Travis should only sign and build APK on master branch #2162

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

Merged
merged 1 commit into from
Dec 18, 2018
Merged

Travis should only sign and build APK on master branch #2162

merged 1 commit into from
Dec 18, 2018

Conversation

domdomegg
Copy link
Member

Description (required)

Fixes #1056

What changes did you make and why?

Travis now checks we're on the master branch before pushing a release to Google Play. Otherwise, things like this will create an alpha build for Google Play:

https://travis-ci.org/commons-app/apps-android-commons/builds/468986786

(Worked on a non-master branch of commons-app, which resulted in Travis running a continuous-integration/travis-ci/push build - see #2148)

Tests performed (required)

Not really able to test, so need someone to look at carefully.

@codecov-io
Copy link

Codecov Report

Merging #2162 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2162   +/-   ##
======================================
  Coverage    5.69%   5.69%           
======================================
  Files         233     233           
  Lines       11593   11593           
  Branches     1076    1076           
======================================
  Hits          660     660           
  Misses      10878   10878           
  Partials       55      55

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d80cba...ffe9b2d. Read the comment docs.

Copy link
Member

@maskaravivek maskaravivek left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks @domdomegg

@maskaravivek maskaravivek merged commit e6593c5 into commons-app:master Dec 18, 2018
@domdomegg domdomegg deleted the travis-build-master-only branch December 18, 2018 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants