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

Fix Travis CI errors on mysql-5.7 and CentOS cases #1085

Merged
merged 2 commits into from
Nov 22, 2019

Conversation

junaruga
Copy link
Contributor

@junaruga junaruga commented Nov 22, 2019

This PR's 2 commits fixes the errors for mysql-5.7 and CentOS cases in Travis CI.

Here is the result of my forked repository's Travis. It is succeeded.
https://travis-ci.org/junaruga/mysql2/builds/615670813

I added some notes for each commit message about the issue.
https://github.com/brianmario/mysql2/pull/1085/commits

By the way, it is possible to run Travis CI regularly cron mode monthly or weekly?
You see the last success of master branch is 6 month ago, and next build is 2 month ago.
https://travis-ci.org/brianmario/mysql2/branches

Thank you.

See https://travis-ci.org/brianmario/mysql2/jobs/615263122#L798

```
+ add-apt-repository 'http://repo.mysql.com/apt/ubuntu mysql-5.7'
+ apt-get install -qq mysql-server libmysqlclient-dev
```

After adding trusty mysql-5.7 repository, mysql-5.5 is installed
instead of mysql-5.7.
because the Packages file is empty (zero byte).
http://repo.mysql.com/apt/ubuntu/dists/trusty/mysql-5.7/binary-amd64/

xenial mysql-5.7 repository is still available.
The Packages file is not empty.
http://repo.mysql.com/apt/ubuntu/dists/xenial/mysql-5.7/binary-amd64/
As the `mysql_install_db` script in CentOS refers wrong path of
resolveip command: `/usr/libexec/resolveip`,
set `ln -s /usr/bin/resolveip /usr/libexec/resolveip` as a workflow.

See https://travis-ci.org/brianmario/mysql2/jobs/615263124#L2840
@junaruga junaruga force-pushed the hotfix/fix-travis-ci branch from eabbed8 to 12a5e96 Compare November 22, 2019 18:32
@sodabrew sodabrew merged commit 5f7a271 into brianmario:master Nov 22, 2019
@sodabrew
Copy link
Collaborator

Thank you!

@junaruga junaruga deleted the hotfix/fix-travis-ci branch November 22, 2019 21:00
@junaruga
Copy link
Contributor Author

Thank you for merging and maintaining mysql2!

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