Add GitLab CI setup (tests, docs build)
Fixes #558 (closed)
Notes:
-
Since this MR adds a GitLab CI setup, tests will be run against this MR (and against all branches and MRs after this is merged). Since tests are currently failing on most versions of Node.js, this MR depends on the MR that fixes the tests, !532 (merged).
-
Currently, the browser tests fail with a "non-zero error code" (not so helpful message), so they have been commented out of the
.gitlab-ci.yml. I can't currently debug why they are failing because of #559 (closed). -
The code coverage test works but is commented out because it reports an error when connecting to Coveralls. When this GitLab repo is setup on http://coveralls.io, the test can be un-commented and it should work.
-
The GitHub Pages setup has been updated to work on GitLab, but the GitLab Pages feature needs to be turned on for this repo. When that happens GL should then automatically serve the
publicfolder it builds. https://docs.gitlab.com/ee/user/project/pages/