JuliaInterop / NBInclude.jl

import code from IJulia Jupyter notebooks into Julia programs
Other
118 stars 17 forks source link

Install fails on travis-ci.com #14

Closed eford closed 5 years ago

eford commented 5 years ago

I'm able to add and use the NBInclude package on my system. But when I try to add the NBInclude package in travis-ci.com, it core dumps. You can see the problem at https://github.com/PsuAstro528/HomeworkTemplate/tree/v0.7 and https://travis-ci.com/PsuAstro528/HomeworkTemplate/builds/93116947

Note that since this is for classroom use, student's won't be creating a package for every assignment. Hence I wrote a simpler parser to have travis add packages that are used for the exercise based on a REQUIRE file.

Here's the .travis.yml file language: julia os:

script:

In essence the test/install_required_packages.jl file is just doing import Pkg Pkg.add("Glob") Pkg.add("NBInclude")

Is this something that can be fixed by NBInclude? Or is it deeper? Any suggestions? Thanks.

eford commented 5 years ago

It turns out this wasn't a problem with NBInclude. When different package lists were installed, it appeared to happen randomly. In the end, I removed my install_required_packages.jl script and learned to use julia "Projects" to have Julia install packages. I don't understand why the old way didn't work, but so far the new way is working. The new .travis.yml is language: julia os:

script: