diff --git a/.gitignore b/.gitignore index 95e4ce0..3e976eb 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ __dummy.html __test__*__ calendar-webapp* events.json -dub.selections.json \ No newline at end of file +dub.selections.json +generated/* diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..538b6f8 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +image: base/devel + +before_script: + - pacman -Sy + - pacman --noconfirm -S ldc dub libevent + +stages: + - build + - test + +build: + stage: build + script: + - dub build --compiler=ldc2 + +test: + stage: test + script: + - dub test --compiler=ldc2 diff --git a/dub.json b/dub.json index 458b1f0..74add46 100644 --- a/dub.json +++ b/dub.json @@ -35,5 +35,8 @@ ], "versions": [ "VibeUseOpenSSL11" + ], + "lflags": [ + "-fuse-ld=gold" ] } diff --git a/test/calendarwebapp/testevent.d b/test/calendarwebapp/testevent.d index 3a1daf6..e351881 100644 --- a/test/calendarwebapp/testevent.d +++ b/test/calendarwebapp/testevent.d @@ -38,7 +38,7 @@ public: } } -@("getEventMongoDBEventStore.getEvent failure") +@("MongoDBEventStore.getEvent failure") @system unittest { auto collection = mock!Collection;