Long tests fail: No output has been received in the last 10m

Hi,

I have a package that have long run tests (more than 30min). Since Travis has this 10min rule, the build never finishes. I read about travis_wait, but I’m not sure how to use in my case. This is my .travis.yml:

language: julia
os:
  - linux
  - osx

julia:
  - 1.2
  - nightly

notifications:
  email: false
git:
  depth: 99999999

matrix:
  allow_failures:
  - julia: nightly

before_install:
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update          ; fi

addons:
  apt:
    packages:
      - hdf5-tools
  homebrew:
    packages:
    - hdf5

This is the end of the log:

>> Testing path relink methods (it may take a while)...
Test Summary:      | Pass  Total
find_block_range() |   19     19
Test Summary:         | Pass  Total
direct_path_relink!() |   26     26

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received

The build has been terminated

So, how can I setup Travis to allow long run tests?

Carlos

1 Like