From e06fbc54047cf47b8b21885199d29a327920234d Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 6 Feb 2015 10:41:11 -0500 Subject: [PATCH] more tests and info to troubleshoot why travis failed on me https://travis-ci.org/yarikoptic/neurodebian/builds/49754390 --- .travis.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b2afb80..d91afe8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,16 @@ 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 + - grep "\sprecise\s" /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 -- 2.39.2