Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 28 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,38 @@ jobs:
# - image: circleci/mongo:3.4.4

working_directory: ~/repo
environment:
shell: /bin/bash
TERM: xterm

steps:
- checkout

- run: |
echo hello world
git branch
- run:
name: Check whether most recent commit is signedoff
shell: /bin/bash
command: |
MESSAGE=`git log -1 --pretty=%B`
echo "Checking whether signed"
if [[ "${MESSAGE}" == *Signed-off-by:*@* ]]; then
echo "Commit is signedoff"
else
echo "Commit is not signedoff"
exit 1
fi


- run: cd public-interface; npm install
- run:
shell: /bin/bash
name: Install dependencies
command: |
cd public-interface
npm install

# run tests!
- run: cd public-interface; node_modules/grunt-cli/bin/grunt build-api
- run:
shell: /bin/bash
name: Run linting and tests
command: |
cd public-interface
node_modules/grunt-cli/bin/grunt build-api
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

test12
# OISP Frontend and Dashboard

This repository consists of 2 distinct components. A browser-based dashboard written using AngularJS and also a Node application that provides all the public APIs.
Expand Down