Skip to content

Commit

Permalink
Merge pull request #3 from spine-generic/af/acq_param_ci
Browse files Browse the repository at this point in the history
Implement CI for checking acquisition parameters
  • Loading branch information
jcohenadad authored Jul 25, 2020
2 parents efd907e + 312d14e commit b2abcfa
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .bidsignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*_MTS*
*.pdf
*.zip
*_acq-b0_dwi*
*.md
*.log
33 changes: 33 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
sudo: required
dist: xenial

language: python

python:
- "3.7"

# safelist
branches:
only:
- master

# install proper NodeJS for bids-validator
before_install:
- sudo rm -rf ~/.nvm
- curl -sL https://deb.nodesource.com/setup_current.x | sudo -E bash -
- sudo apt-get install -y nodejs
- sudo npm install -g bids-validator

# install spine-generic for acquisition parameters check
install:
- git clone https://github.com/spine-generic/spine-generic.git code/spine-generic
- cd code/spine-generic
- pip install -e .
- source ~/virtualenv/python3.7/bin/activate
- cd ../..

script:
- echo -e "\e[1m \e[4m \e[34mRunning BIDS-validator \n"
- bids-validator ./
- echo -e "\e[1m \e[4m \e[34mChecking acquisition parameters \n"
- sg_params_checker -path-in ./
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Spine Generic Public Database (Single Subject)
[![Build Status](https://travis-ci.com/spine-generic/data-single-subject.svg?branch=master)](https://travis-ci.com/spine-generic/data-single-subject)

## About this dataset

Expand Down

0 comments on commit b2abcfa

Please sign in to comment.