Add diagnostic and CI;

This commit is contained in:
Benjamin Bouvier 2016-06-23 22:14:37 +02:00
parent 683b32a715
commit 9d31b30444
2 changed files with 6 additions and 0 deletions

4
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,4 @@
image: ubuntu:latest
before_script:
- echo "Hello world!"

View File

@ -94,6 +94,8 @@ app.post('/', function(req, res) {
var msgs = null;
if (body.object_kind && handlers[body.object_kind])
msgs = handlers[body.object_kind](body);
else
console.log("Unexpected object_kind:", body.object_kind);
if (msgs) {
if (msgs instanceof Array) {