My tests are starting to fail due to initial compile time:
$ julia --check-bounds=yes --color=yes -e "if VERSION < v\"0.7.0-DEV.5183\"; Pkg.test(\"${JL_PKG}\", coverage=true); else using Pkg; Pkg.test(coverage=true); end"
Testing ApproxFun
Resolving package versions...
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
I’ve looked at the suggested fix which is to use travis_wait, but I’m unsure how to incorporate this into my .travis.yml file. Any suggestions?
If you don’t specify build and/or script in your .travis.yml file, then Travis will use the default build and test scripts for the specified language.
As far as I can tell, travis_wait doesn’t work with Julia at all. I’ve been mucking with this idiotically self-incompatible (and nearly undocumented) command all day. There seems to be no syntax that magically “tells” Travis to not timeout.
It’s possible that I missed something, but, I’m being objective here, the documentation for travis_wait is utter crap and there is no full working example of it on travis-ci, so who knows.
I’m guessing that invoking julia -e always spawns a child process, leading to a timeout. At the moment it appears that I can’t run tests that take >10 minutes total execution time on Arm64; an intractable problem in my case, since testing my web request functions alone takes that long.
Above, I edited .travis.yml to force some output to stdout with julia -e 'println("arch = ", Sys.ARCH)' in my before_script: section. That does work, so that isn’t the issue.
I also split the usual test commands between before_script: and script:
Yet, notice what happens immediately after. The relevant lines in before_script: are:
- if [[ -a .git/shallow ]]; then git fetch; fi
- travis_wait 50 julia -e 'using Pkg; Pkg.build();'
The screen output doesn’t echo both commands, and acts like travis_wait isn’t being invoked:
$ if [[ -a
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.