# TravisCI Job hung when using matrix.include

**URL:** <https://travis-ci.community/t/travisci-job-hung-when-using-matrix-include/2000>\
**Category:** Travis CI Discussions & Feedback\
**Created:** [January 25, 2019, 11:01am UTC](https://travis-ci.community/t/travisci-job-hung-when-using-matrix-include/2000 "2019-01-25T11:01:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlocati](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/mlocati/32/1054_2.png) [@mlocati](https://travis-ci.community/u/mlocati)\
**Post date:** [January 25, 2019, 11:01am UTC](https://travis-ci.community/t/travisci-job-hung-when-using-matrix-include/2000/1 "2019-01-25T11:01:35Z")

</div>

I submitted the pull request [https://github.com/audacity/audacity/pull/335](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](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](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](https://travis-ci.org/audacity/audacity/jobs/483883182)).

Any hint?

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [January 25, 2019, 12:00pm UTC](https://travis-ci.community/t/travisci-job-hung-when-using-matrix-include/2000/2 "2019-01-25T12:00:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mlocati](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/mlocati/32/1054_2.png) [@mlocati](https://travis-ci.community/u/mlocati)\
**Post date:** [January 25, 2019, 12:31pm UTC](https://travis-ci.community/t/travisci-job-hung-when-using-matrix-include/2000/3 "2019-01-25T12:31:32Z")

</div>

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!)
