Skip to content

Commit c12641e

Browse files
committed
Dev-16, adding test case and ci integeration
1 parent 559aade commit c12641e

File tree

5 files changed

+1318
-0
lines changed

5 files changed

+1318
-0
lines changed

.gitlab-ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
image: node:14.5.3
2+
stages:
3+
- test
4+
5+
variables:
6+
PROJECT_NAME: algorithmia
7+
DOCKER_HOST: tcp://docker:2375/
8+
DOCKER_DRIVER: overlay2
9+
RUNNING_ON_BUILD_SERVER: "true"
10+
11+
test:
12+
stage: test
13+
script:
14+
- npm install mocha-headless-chrome -g
15+
- if [ -z $ALGORITHMIA_DEFAULT_API_KEY ]; then echo "Algorithmia API key not defined"; exit 1; fi
16+
- npm test

0 commit comments

Comments
 (0)