Skip to content

test/e2e/memcached_test.go: fix travis on master #529

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
Sep 25, 2018

Conversation

AlexNPavel
Copy link
Contributor

On master, TRAVIS_PULL_REQUEST_SLUG is still set, but to "". This
breaks dep if it is run after a dependency change occurs, which
happens once we add the test directory. To fix this, we check
if TRAVIS_PULL_REQUEST_SLUG is "" and we also only run dep ensure
once after all the files are up to date instead of once before
and once after.

/cc hasbro17

On master, TRAVIS_PULL_REQUEST_SLUG is still set, but to "". This
breaks dep if it is run after a dependency change occurs, which
happens once we add the test directory. To fix this, we check
if TRAVIS_PULL_REQUEST_SLUG is "" and we also only run `dep ensure`
once after all the files are up to date instead of once before
and once after.
@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 25, 2018
@hasbro17
Copy link
Contributor

LGTM

@AlexNPavel AlexNPavel merged commit 4e49fba into operator-framework:master Sep 25, 2018
@AlexNPavel AlexNPavel deleted the travis-master-fix branch September 25, 2018 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants