Using Travis CI to run unit tests and running phpunit locally [closed]

Travis is a hosted continuous integration service. Travis takes the files you’ve committed to your Github repo, and runs PHPUnit against them.

Notably different than running phpunit in your local environment is that running tests on Travis requires at least three steps:

  1. Commit to Git.
  2. Push to Github.
  3. Wait for Travis to create and run a build.

In the long term, it will be much faster for you to first run your tests locally before you commit, to reduce the amount of time you have to wait to see if your tests fail.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)