Skip to content
Snippets Groups Projects
Commit aca960fb authored by Axel von Arnim's avatar Axel von Arnim
Browse files

Merged in NRRPLT-6586_enable-pipeline (pull request #1)


[NRRPLT-6586] Add pipeline

Approved-by: default avatarClaudio Sousa <claudio.sousa@gmail.com>
parent e18d95dc
No related branches found
No related tags found
No related merge requests found
# This is a sample build configuration for Docker.
# Check our guides at https://confluence.atlassian.com/x/O1toN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: hbpneurorobotics/nrp_frontend:dev
pipelines:
default:
- step:
name: Build
script: # Modify the commands below to build your repository.
# Install Ruby dependencies with Bundler
- sudo apt-get update && sudo apt-get install -y ruby gem libxcomposite-dev libxcursor-dev
- if [ -f Gemfile ]; then ruby -v && gem -v && gem install --user-install --no-ri --no-rdoc bundler && bundle install; fi
# Install npm packages
- npm install
# Install Ruby dependencies with Bundler
- if [ -f Gemfile ]; then ruby -v && gem -v && gem install --user-install --no-ri --no-rdoc bundler && bundle install; fi
# Install google chrome
- sudo apt-get install -y wget --no-install-recommends && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - && sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && sudo apt-get update && sudo apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst ttf-freefont --no-install-recommends && sudo rm -rf /var/lib/apt/lists/* && sudo apt-get purge --auto-remove -y curl && sudo rm -rf /src/*.deb
# Grunt execution
- grunt --stack ci
# Coverage check
- git archive --remote=ssh://git@bitbucket.org/hbpneurorobotics/admin-scripts.git refs/heads/master nrp_cobertura_check | tar xf -
- ./nrp_cobertura_check reports/coverage/*/cobertura-coverage.xml
{ {
"name": "brainvisualizer", "name": "brainvisualizer",
"version": "2.0.4", "version": "2.0.4",
"description": "Javascript class for brain visualization", "description": "Javascript class for brain visualization",
"main": "Gruntfile.js", "main": "Gruntfile.js",
"directories": { "directories": {
"test": "test" "test": "test"
}, },
"dependencies": { "dependencies": {
"ajv": "5.0.1-beta.3", "ajv": "5.0.1-beta.3",
"lodash": "^4.17.5", "lodash": "^4.17.5",
"request": "2.81.0" "request": "2.81.0"
}, },
"devDependencies": { "devDependencies": {
"grunt": "1.0.1", "grunt": "1.0.1",
"grunt-bump": "0.8.0", "grunt-bump": "0.8.0",
"grunt-contrib-clean": "1.0.0", "grunt-contrib-clean": "1.0.0",
"grunt-contrib-copy": "1.0.0", "grunt-contrib-copy": "1.0.0",
"grunt-contrib-imagemin": "1.0.1", "grunt-contrib-imagemin": "1.0.1",
"grunt-exec": "1.0.1", "grunt-exec": "1.0.1",
"grunt-git": "1.0.3", "grunt-git": "1.0.3",
"grunt-karma": "2.0.0", "grunt-karma": "2.0.0",
"grunt-ng-annotate": "3.0.0", "grunt-ng-annotate": "3.0.0",
"grunt-publish": "1.0.0", "grunt-publish": "1.0.0",
"jasmine": "2.4.1", "jasmine": "2.4.1",
"jasmine-core": "2.4.1", "jasmine-core": "2.4.1",
"karma": "^2.0.0", "karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0", "karma-chrome-launcher": "^2.2.0",
"karma-coverage": "1.1.1", "karma-coverage": "1.1.1",
"karma-jasmine": "1.1.0", "karma-jasmine": "1.1.0",
"karma-junit-reporter": "1.2.0", "karma-junit-reporter": "1.2.0",
"karma-ng-html2js-preprocessor": "1.0.0", "karma-ng-html2js-preprocessor": "1.0.0",
"load-grunt-tasks": "3.5.2", "load-grunt-tasks": "3.5.2",
"puppeteer": "^1.1.0" "puppeteer": "^1.1.0"
}, },
"scripts": { "scripts": {
"test": "grunt test" "test": "grunt test"
}, },
"publishConfig": { "author": "HBP",
"registry": "http://bbpteam.epfl.ch/repository/npm"
},
"repository": {
"type": "git",
"url": "ssh://bbpcode.epfl.ch/neurorobotics/brainvisualizer"
},
"author": "HBP",
"license": "GPL2" "license": "GPL2"
} }
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment