TravisCI Job hung when using matrix.include

I submitted the pull request https://github.com/audacity/audacity/pull/335 to the Audacity GitHub project.
That pull request changes the .travis.yml configuration file to the following (see https://github.com/audacity/audacity/blob/a05a25c8f4e9e83a6b3702d3a1acc9acda65b717/.travis.yml):

matrix:
    include:

        - name: "Build and tests"
          addons:
              apt:
                  sources:
                      - ubuntu-toolchain-r-test
                  packages:
                      - g++-4.9
                      - gcc-4.9
          before_install:
              - sudo apt-get update -qq
              - sudo apt-get install -y libwxgtk3.0-dev libgtk2.0-dev gettext autopoint libasound2-dev alsa-utils alsa-oss
              - git show -s --format="#define REV_LONG \"%H\"%n#define REV_TIME \"%cd\"%n" | tee ./src/RevisionIdent.h
              - export CXX="g++-4.9" CC="gcc-4.9"
              - FLAGS="-w -std=gnu++11"
              - export CFLAGS="$CFLAGS $FLAGS"
              - export CXXFLAGS="$CXXFLAGS $FLAGS"
              - g++-4.9 --version
          language:
              - cpp
          script:
              - mkdir build
              - cd build
              - time ../configure && time make modules && time make -j2

        - name: "Localization"
          script:
              - ./.travis/refresh-pot.sh

That pull request triggered this build: https://travis-ci.org/audacity/audacity/builds/483883181
The second job (named “Localization”) has been executed and completed successfully.
But the first job (“Build and tests”) has been pending for hours, and after it ended up with a raw log containing just “null” (see https://travis-ci.org/audacity/audacity/jobs/483883182).

Any hint?

The job shows up as errored. Have you tried reloading the page?

We tried to restart the build, but we’ve had the same result (the first job hung).

I contacted the TravisCI support team, and they suggested to change the line

language:
    - cpp

to

language: cpp

And that fixed the issue (great, travisci support team!)

1 Like