Skip to content

Commit a1e031b

Browse files
author
Nathan Lyle Black
authored
Merge pull request #2 from jakemuntarsi/Dev-16
Dev-16: adding test case and ci integeration
2 parents 559aade + bb04fb0 commit a1e031b

File tree

6 files changed

+3123
-0
lines changed

6 files changed

+3123
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.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 $API_KEY ]; then echo "Algorithmia API key not defined"; exit 1; fi
16+
- npm test

0 commit comments

Comments
 (0)