add CI for gitlab
Former-commit-id: 37ba6d28030f4cf1866cc9c182833fe247348f38
This commit is contained in:
parent
0585fcafda
commit
ebe799f8c0
22
.gitlab-ci.yml
Normal file
22
.gitlab-ci.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user