]> git.donarmstrong.com Git - neurodebian.git/blobdiff - .travis.yml
Also for stats report which repo and which job number use our setup
[neurodebian.git] / .travis.yml
index d91afe8619556021133ee14ea479d8002dba01d8..62061f7f00ce92216e981b2a0c004552fe5fb84e 100644 (file)
@@ -9,7 +9,16 @@ script:
     - bash tools/neurodebian-travis.sh
     # Verify that we can "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 -y neurodebian-dev
 after_failure: