softvis-research/jqa-dashboard

Ensure successful building via CI

feststelltaste opened this issue · 2 comments

To ensure successful builds, you could add a Travis CI file named .travis.yml into the project's root directory and let the project build automatically after every commit via https://travis-ci.org/.

Maybe a build file like this could help (I don't know the exact node.js requirements):

language: node_js

node_js:
  - "iojs"
  - "7"

install:
  - "npm install"
  - "npm install graph-app-kit --registry https://neo.jfrog.io/neo/api/npm/npm"
  - "npm run build"

This method also integrates nicely with future pull requests where a PR can only be merged if the application builds (and tests run) successfully.

Thank you for your contribution! The support of Travis CI is already planned and on my TODO list. I'd also let Travis run the tests to make sure nothing breaks.

By the way: The installation instructions in the readme are already obsolete. To install the dashboard, you only have to run this command:
npm run install-dashboard

I will update the readme file instantly. :)

Travis CI is now used to check all builds. To do this, it installs the dashboard and then runs all tests.

This should have solved this issue successfully. :)