Switch CircleCI template to CircleCI 2.0.#115
Conversation
There was a problem hiding this comment.
Apologies for the delay in reviewing this @FelicianoTech , will review shortly after WP-CLI is released this Tuesday.
README.md
Outdated
| options: | ||
| - travis | ||
| - circle | ||
| - circleci |
There was a problem hiding this comment.
This shouldn't be changed I think for BC.
There was a problem hiding this comment.
Sorry, backward compatibility.
There was a problem hiding this comment.
Ah. Makes sense. I'll revert shortly.
|
|
Attempting to run this config errors out when trying to install the dependencies as it doesn't have permission to run aptitude. Run commands as After fixing that, it errors out with If I add |
|
@travislopes thanks for trying it out, according to https://hub.docker.com/r/circleci/mysql/ the mysql user name is |
|
Added a comment addressing the latest comments here. |
| name: "Install Dependencies" | ||
| command: | | ||
| sudo apt-get update && sudo apt-get install subversion | ||
| sudo docker-php-ext-install mysqli |
There was a problem hiding this comment.
Installing the MySQLi extension seemed to do the trick. Tests ran perfectly for me with this new config.
There was a problem hiding this comment.
Thanks for the feedback @travislopes , stole that from #118. Not sure about the way it's installing mysql-client-5.7 (which is missing from circleci docker image), seems kludgey...
|
@FelicianoTech took the liberty of pushing some commits to keep this moving. Fixes up the tests, also uses An unrelated change that using MySQL 5.7 requires is making the |
|
Awesome. Anything else needed from me? |
|
Cool, if you're happy with it @FelicianoTech then no, will merge! (edit: after getting review.) |
|
Nope, LGTM though there is conflicts now. |
|
Okay I merged in master to fix the conflicts. |
|
Thanks for the pull-request (and the patience), @FelicianoTech ! |
[WIP] Switch CircleCI template to CircleCI 2.0.
Fixes #52.
This is a first draft at converting the CircleCI template from using CircleCI 1.0 to 2.0
Notes: