quill-cache icon indicating copy to clipboard operation
quill-cache copied to clipboard

Travis CI Fails

Open mslinn opened this issue 8 years ago • 0 comments

Want an easy introduction to becoming a F/OSS contributor? Fix the Travis CI script, then submit a PR! See the build errors at https://travis-ci.org/mslinn/quill-cache

I sent an email July 20, 2017 to [email protected] with the following information, but I have not received a response yet.

I see that TravisCI finds all dependencies and tests start ... and then that process does not get any more CPU time, like a scheduler forgot about that thread. 10 minutes goes by and nothing happens, then the build times out.

This is my .travis.yml:

language: scala

scala:
- 2.12.2

jdk:
- oraclejdk8

So I tried this:

language: scala

scala:
- 2.12.2

jdk:
- oraclejdk8

script:
  - travis_wait sbt ++$TRAVIS_SCALA_VERSION test

# Use container-based infrastructure
sudo: false

# These directories are cached to S3 at the end of the build
cache:
  directories:
    - $HOME/.ivy2/cache
    - $HOME/.sbt

before_cache:
  # Cleanup the cached directories to avoid unnecessary cache updates
  - find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
  - find $HOME/.sbt        -name "*.lock"               -print -delete

Same result. Fundamentally, whatever causes the build to stop needs to be taken care of. Is this a Travis CI bug?

mslinn avatar Jul 20 '17 04:07 mslinn