Make documentation for package under Julia 1.8beta3

I’m working on developing a new package that uses some features only available in Julia 1.8. It runs fine under the nightly, except that the documentation (Documenter) does not get deployed because the package requires version 1.8. What do I need to do to get Travis to use the new beta release instead of Julia 1.7 for document generation?