IMS94 / chr247.com

An open source multi tenant cloud platform for small scale clinics
https://chr247.herokuapp.com
MIT License
63 stars 35 forks source link

Integrate travis CI for phpunit tests #9

Closed IMS94 closed 6 years ago

IMS94 commented 6 years ago

Need to add Travis CI to run phpunit tests

narendravaghela commented 6 years ago

I can add Travis ci configuration file if you want, but you then have to authorize it with Travis.

IMS94 commented 6 years ago

@narendravaghela Yes, I can authorize it with Travis. But you may need to look at the tests first in order to identify what are the constraints when using Travis.

These phpunit tests require migrating and seeding to be done initially to a database. Tests refer the database tables later. Will that be possible with Travis?

narendravaghela commented 6 years ago

Let me check it on my fork first. We can do the database stuff with Travis, but that requires little bit time and efforts.

IMS94 commented 6 years ago

@narendravaghela I see. Let me know what you think.

narendravaghela commented 6 years ago

@IMS94 I have generated PR. You can see the output of CI on my fork here - https://travis-ci.org/narendravaghela/chr247.com