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

Tagged CI builds are failing #37

Closed
revett opened this issue Jul 28, 2018 · 2 comments
Closed

Tagged CI builds are failing #37

revett opened this issue Jul 28, 2018 · 2 comments
Assignees
Labels
Bug Something isn't working

Comments

@revett
Copy link
Contributor

revett commented Jul 28, 2018

Problem

Example: https://travis-ci.org/CityOfZion/neo-local/builds/409058230

CI builds on the master branch or a tag should ignore the make check-version check as that should apply to a feature branch.

See:

#!/bin/bash
# Script that Travis CI will run to test the project, it is conditional on the branch.
set -e
if [[ $TRAVIS_BRANCH == 'master' ]]
then
make integration-tests
else
make check-version
make integration-tests
fi

@revett revett added the Bug Something isn't working label Jul 28, 2018
@revett revett self-assigned this Jul 28, 2018
@jeroenptrs
Copy link
Contributor

@revett upon research I stumbled upon the fact that $TRAVIS_BRANCH is either empty or contains the tag name on tagged builds, which is why the build runs make check-versions.

References:

Proposal:
Use $TRAVIS_TAG instead

@anthdm
Copy link
Collaborator

anthdm commented Aug 20, 2018

Hello? Will this be merged soon? Or at least reviewed? @jeroenptrs you can add me as second reviewers to make this pass?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants