there was a problem with a filename. I had originally saved mopt.jl on 
github. on my box i then changed this to MOpt.jl to reflect the module name 
"MOpt". git never picked that change up - so on github i had mopt.jl, which 
is not valid to load MOpt. 

On Friday, 20 June 2014 14:57:11 UTC+1, Florian Oswald wrote:
>
> hi,
>
> I'm trying travis for the first time and I'm stuck. I tried several 
> different .travis.yml files I found online, none seems to work. here's the 
> current one, which I believe is very close to the one on DataFrames.jl:
>
> language: cpp
> compiler:
>   - clang
> notifications:
>   email: false
> # env:
> #   matrix:
> #     - JULIAVERSION="juliareleases"
> #     - JULIAVERSION="julianightlies"
> before_install:
>   - sudo add-apt-repository ppa:staticfloat/julia-deps -y
>   - sudo add-apt-repository ppa:staticfloat/julianightlies -y
>   - sudo apt-get update -qq -y
>   - sudo apt-get install libpcre3-dev julia -y
>   - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
> script:
>   - julia -e 'versioninfo(); Pkg.init(); Pkg.clone(pwd())'
>   - julia ./test/runtests.jl
>
>
> the error I keep getting in various forms and shapes is that I cannot do 
> `using MOpt` on travis, because it's not on LOAD_PATH. That's my reading 
> anyway.
> here's the full repo in case that's useful: 
> https://github.com/floswald/MOpt.jl
>
> $ julia ./test/runtests.jl
>
> ERROR: MOpt not found
>
>  in require at loading.jl:47
>
>  in include at ./boot.jl:244
>
>  in include_from_node1 at loading.jl:128
>
>  in process_options at ./client.jl:285
>
>  in _start at ./client.jl:354
>
> while loading /home/travis/build/floswald/MOpt.jl/test/runtests.jl, in 
> expression starting on line 5
>
>
>
>

Reply via email to