Unit tests are failing

So, the reason they are failing is because you need to use the new version of the WordPress testing environment.
See https://github.com/humanmade/backupwordpress/pull/507 for how I fixed it for BackUpWordPress.

I basically copied and adapted the travis.yml and bootstrap.php configs from the WP API plugin.

Also, setup is in the yml file instead of the bash script.