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

Build our tests with Travis and add postgresql to our testing matrix #52

Merged
merged 2 commits into from
Mar 13, 2020

Conversation

arendjantetteroo
Copy link
Collaborator

@arendjantetteroo arendjantetteroo commented Mar 13, 2020

This PR adds the travis build tool to the mix and removes the google cloud build stuff.

This adds phpstan checks so we avoid stupid mistakes that can be caught by a static code analyzer.

We also add postgres to the testing matrix mix and fix a couple things to make this work against a postgres database as well. Most important change to make that happen is testing active vs a stringified true/false like 'true' and 'false'. Apperently otherwise postgres doesn't correctly convert those values into something the database can query for.

@arendjantetteroo arendjantetteroo changed the base branch from master to phpstan March 13, 2020 13:27
@arendjantetteroo arendjantetteroo marked this pull request as ready for review March 13, 2020 16:03
@arendjantetteroo arendjantetteroo changed the title Build with Travis Build our tests with Travis and add postgresql to our testing matrix Mar 13, 2020
Dockerfile Outdated Show resolved Hide resolved
.travis.yml Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
packages/greencheck/src/Entity/Greencheck.php Show resolved Hide resolved
Copy link
Member

@mrchrisadams mrchrisadams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @arendjantetteroo I agree with the suggestions in your pull request and I think we gain more from having a simple code base and removing the files.

Feel free to merge/rebase once we've got rid of the unneeded files.

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.

None yet

2 participants