Skip to content

Fix problems in CI failures (travis and semaphore)#86

Merged
ingydotnet merged 1 commit into
masterfrom
test-suite-fetch-bug
Jan 7, 2018
Merged

Fix problems in CI failures (travis and semaphore)#86
ingydotnet merged 1 commit into
masterfrom
test-suite-fetch-bug

Conversation

@ingydotnet
Copy link
Copy Markdown
Member

This should fix #85 semaphore CI test failures.

@sigmavirus24, please review.

Thanks @perlpunk for fix.

@ingydotnet ingydotnet force-pushed the test-suite-fetch-bug branch 2 times, most recently from c4b3d74 to cd5753d Compare January 6, 2018 08:04
@sigmavirus24
Copy link
Copy Markdown
Contributor

I think travis needs to be told not to just pull the latest 50 commits of one branch. You need to have it pull other branches too. In the .travis.yml you could pre-fetch this branch to make it work.

@ingydotnet ingydotnet force-pushed the test-suite-fetch-bug branch 3 times, most recently from 6416b0f to 8307a65 Compare January 6, 2018 22:02
In the Makefile.am, switched out the fetch (which can have auth problems
in certain envs) with a simple branch per @perlpunk++'s suggestion.

With the new test branches, travis had a problem in that it only clones
one branch and we need the other branch refs to be available. Fixed this
by fetching the other branch refs. I also cleaned up the travis YAML
file.

The Ubuntu 14.04 docker image (used by semaphoreci) had an older git,
without the worktree command, so I made it install the latest git from a
ppa.

Renamed tests/run-tests.sh to tests/run-all-tests.sh for tab completion
conflict reasons.
@ingydotnet ingydotnet force-pushed the test-suite-fetch-bug branch from 8307a65 to aa10f65 Compare January 6, 2018 22:41
@ingydotnet ingydotnet changed the title Don't use fetch to create a git branch. Fix problems in CI failures (travis and semaphore) Jan 6, 2018
@ingydotnet
Copy link
Copy Markdown
Member Author

@sigmavirus24 yeah, I also needed to change the remote.origin.fetch config before the fetch. Took me a while to get there but looks like all CI's are happy. See aa10f65 commit messge for full details.

@sigmavirus24 can you please review this PR. I'll rebase it into #85, and then push them both to master (after you OK them both).

@ingydotnet
Copy link
Copy Markdown
Member Author

#85 passes tests with this code.

Copy link
Copy Markdown
Contributor

@sigmavirus24 sigmavirus24 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

@ingydotnet ingydotnet merged commit aa10f65 into master Jan 7, 2018
@ingydotnet ingydotnet deleted the test-suite-fetch-bug branch January 7, 2018 20:08
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.

2 participants