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 - NEURODEBIAN_ENABLE=yes sudo apt-get install -y --reinstall neurodebian
20 - test -f /etc/apt/sources.list.d/neurodebian.sources.list
21 # Verify that -dev installs nicely
22 - sudo apt-get install -y neurodebian-dev
24 # Could happen if installation of neurodebian package kills APT repo so print policy
25 - sudo apt-cache policy
26 # But could be that just update wasn't run?
28 - sudo apt-cache policy
30 - cat /etc/apt/sources.list.d/neurodebian.sources.list
31 - ls -lR /etc/neurodebian