X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.travis.yml;h=62061f7f00ce92216e981b2a0c004552fe5fb84e;hb=HEAD;hp=b2afb80996af14a4888fc3d235c72345e0a25bf6;hpb=18bf4f5d0a80472cae61a95fee619c829bc67f3e;p=neurodebian.git diff --git a/.travis.yml b/.travis.yml index b2afb80..62061f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,25 @@ script: # Test the ultimate one-liner setup for NeuroDebian repository - bash tools/neurodebian-travis.sh # Verify that we can "install neurodebian" - - sudo apt-get install neurodebian + - sudo apt-get install -y neurodebian + # but by default (fix it to not disable if was enabled?) + # it results in neurodebian not enabled, thus disabled: + - test \! -f /etc/apt/sources.list.d/neurodebian.sources.list + # enable it via our tool + - NEURODEBIAN_ENABLE=yes NEURODEBIAN_UPDATE=yes sudo nd-configurerepo + - grep "\sprecise\s" /etc/apt/sources.list.d/neurodebian.sources.list + # Verify that it is still present + # TODO: for some reason disables it again :-/ Need to get something going already, disabled for now + #- NEURODEBIAN_ENABLE=yes NEURODEBIAN_VERBOSE=10 sudo apt-get install -y --reinstall neurodebian + - test -f /etc/apt/sources.list.d/neurodebian.sources.list # Verify that -dev installs nicely - - sudo apt-get install neurodebian-dev + - sudo apt-get install -y neurodebian-dev +after_failure: + # Could happen if installation of neurodebian package kills APT repo so print policy + - sudo apt-cache policy + # But could be that just update wasn't run? + - sudo apt-get update + - sudo apt-cache policy + - ls -lR /etc/apt + - cat /etc/apt/sources.list.d/neurodebian.sources.list + - ls -lR /etc/neurodebian