Changed the gitlab CI to match the travis CI
This involved adding the format check to the CI process. I also fixed some formatting issues which was causing Travis CI to fail.
This involved adding the format check to the CI process. I also fixed some formatting issues which was causing Travis CI to fail.