2 # travis-ci.org definition to provide minimalistic testing of NeuroDebian
8 # Test the ultimate one-liner setup for NeuroDebian repository
9 - bash tools/neurodebian-travis.sh
10 # Verify that we can "install neurodebian"
11 - sudo apt-get install -y neurodebian
12 # but by default (fix it to not disable if was enabled?)
13 # it results in neurodebian not enabled, thus disabled:
14 - test \! -f /etc/apt/sources.list.d/neurodebian.sources.list
15 # enable it via our tool
16 - NEURODEBIAN_ENABLE=yes NEURODEBIAN_UPDATE=yes sudo nd-configurerepo
17 - grep "\sprecise\s" /etc/apt/sources.list.d/neurodebian.sources.list
18 # Verify that it is still present
19 # TODO: for some reason disables it again :-/ Need to get something going already, disabled for now
20 #- NEURODEBIAN_ENABLE=yes NEURODEBIAN_VERBOSE=10 sudo apt-get install -y --reinstall neurodebian
21 - test -f /etc/apt/sources.list.d/neurodebian.sources.list
22 # Verify that -dev installs nicely
23 - sudo apt-get install -y neurodebian-dev
25 # Could happen if installation of neurodebian package kills APT repo so print policy
26 - sudo apt-cache policy
27 # But could be that just update wasn't run?
29 - sudo apt-cache policy
31 - cat /etc/apt/sources.list.d/neurodebian.sources.list
32 - ls -lR /etc/neurodebian