add CI for gitlab

Former-commit-id: 37ba6d28030f4cf1866cc9c182833fe247348f38
This commit is contained in:
malavan 2021-06-17 08:44:29 +00:00
parent 0585fcafda
commit ebe799f8c0

22
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,22 @@
build:
stage: build
script:
- make
- make install
make-test:
stage: test
script:
- make test
node-redis-test:
stage: test
script:
- mkdir node-redis-test
- cd node-redis-test
- git clone https://gitlab.eqalpha.com/keydb-dev/node-redis.git
- cd node-redis
- npm install
- npm run test
- cd ../..
- rm -rf node-redis-test