]> git.donarmstrong.com Git - neurodebian.git/blob - .travis.yml
more tests and info to troubleshoot why travis failed on me
[neurodebian.git] / .travis.yml
1 # vim ft=yaml
2 # travis-ci.org definition to provide minimalistic testing of NeuroDebian
3 # setup and tools
4 language: erlang
5 cache:
6   - apt
7 script:
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     - grep "\sprecise\s" /etc/apt/sources.list.d/neurodebian.sources.list
13     # Verify that -dev installs nicely
14     - sudo apt-get install -y neurodebian-dev
15 after_failure:
16     # Could happen if installation of neurodebian package kills APT repo so print policy
17     - sudo apt-cache policy
18     # But could be that just update wasn't run?
19     - sudo apt-get update
20     - sudo apt-cache policy
21     - ls -lR /etc/apt
22     - cat /etc/apt/sources.list.d/neurodebian.sources.list
23     - ls -lR /etc/neurodebian