language: python
python:
  - "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: 
 - pip --version 
 - pip install -r requirements.txt
 # Packages only needed for testing
 - pip install vcrpy
 - pip install ddt
 # Install current version of nidmfsl
 - pip install git+https://github.com/cmaumet/nidmresults.git@scipy_requirement
 - python setup.py install
# command to run tests, e.g. python setup.py test
script:  
 - python test/test_install.py  
 - python test/test_fsl_export.py 
# Update subtree nidm from main nidm repository
before_install: 
 - git config --global user.name "TravisCI"
 - git config --global user.email "travis@dummy.com"
 # Create subtree nidm from main nidm repository
 - git remote add nidm https://github.com/incf-nidash/nidm.git
 - git fetch nidm
 - git subtree add --prefix nidm nidm/master --squash
 - git subtree add --prefix nidm_releases/1.0.0 nidm tags/NIDM-Results_1.0.0 --squash
language: python
python:
  - "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: 
 - pip --version 
 # Install current version of nidmresults
 - pip install git+https://github.com/cmaumet/nidmresults.git@scipy_requirement
# Install current version of nidmfsl
 - python setup.py install
 # Packages only needed for testing
 - pip install vcrpy
 - pip install ddt
# command to run tests, e.g. python setup.py test
script:  
 - python test/test_install.py  
 - python test/test_fsl_export.py 
# Update subtree nidm from main nidm repository
before_install: 
 - git config --global user.name "TravisCI"
 - git config --global user.email "travis@dummy.com"
 # Create subtree nidm from main nidm repository
 - git remote add nidm https://github.com/incf-nidash/nidm.git
 - git fetch nidm
 - git subtree add --prefix nidm nidm/master --squash
 - git subtree add --prefix nidm_releases/1.0.0 nidm tags/NIDM-Results_1.0.0 --squash
Install nidmresults first and then nidmfsl
Install nidmresults first and then nidmfsl
