UndefVarError: <some-module> not defined


#1

Hi, I’m very new to Julia and have hit a blocker. Appreciate any help on how to start identifying the cause.
The following example relates to Documenter and Travis, but I have similar issues with the logging facility in tests

The only possible wrinkle in my installation is that Julia was installed using the jlenv.jl
scripts. However I can’t identify anything that is not working apart from the error below.

julia> using Documenter; Travis.genkeys("MyPkg") (edited)
ERROR: UndefVarError: Travis not defined

julia> using Pkg; Pkg.status()
Project MyPkg v0.1.0
   Status `~/src/MyPkg.jl/Project.toml`
 [e30172f5] Documenter v0.20.0

Julia versioninfo() details

julia> versioninfo()
Julia Version 1.0.2
Commit d789231 (2018-11-08 20:11 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Celeron(R) CPU G550T @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, sandybridge)

Appreciate any help, hints or tips


#2

It’s hiding in a sub-module

https://juliadocs.github.io/Documenter.jl/stable/lib/public/#DocumenterTools.Travis


#3

Thanks, It appears I was following outdated instructions :slight_smile: