echo "Starting runner on branch '$CI_BUILD_REF_NAME'"

bower install
npm install

grunt lint
grunt test

[[ "$CI_BUILD_REF_NAME" = "master" ]] && grunt build

exit 0