• Jakob Unterwurzacher's avatar
    Travis CI: disable output buffering using "go test -p 1" · b4058856
    Jakob Unterwurzacher authored
    Per default, "go test ./..." tests multiple packages in
    parallel.
    
    From "go help build":
    
    	-p n
    		the number of programs, such as build commands or
    		test binaries, that can be run in parallel.
    		The default is the number of CPUs available.
    
    This seems rather innocent, but a consequence of tests
    running in parallel is that the all the output of each test
    is buffered until it completes. This prevents multiple tests
    interleaving their output.
    
    This also means that when a test hangs, we get no output at
    all, which is pretty bad.
    
    Disable parallelization and trade test time for better
    debugability of hung tests.
    
    Change-Id: I4c670b65baa2df3bef70bce622b830530a316ee7
    b4058856
.travis.yml 1005 Bytes