Julia v0.7 causing Travis nightly build to fail


#1

Recently my package’s nightly build on travis started to break.

// i.e. not my release builds, they still pass

I checked the logs and it seems to be because they now run v0.7 of Julia.

What’s the best way to prevent this?

  • do I change something in my REQUIRE file?
  • do I edit my .travis.yml file?

#2

I find it good to test but ignore the failures on unreleased versions. This way you can track the changes, but aren’t tied to supporting them.


#3

What if you have Documenter.jl hooked up to tests passing?


#4

You can specify which OS / Julia version will be the one to run the Documenter build.


#5

Just set Documenter to use release for building. Honestly, that should be the default IMO


#6

Is there a way in Travis to not say the whole build failed though?

Like I want a green checkmark on github.

Right now, this prevents other addons (like codecov) from displaying if a build fails.


#7

See what I already linked above for how to ignore failures.


#8

Sorry, got buried. Thanks man.

// added this code to .travis.yml:

matrix:
  allow_failures:
  - julia: nightly