You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
linux
julia:
1.0
script:
julia test/install_required_pacakges.jl
julia test/runtests.jl
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.
The text was updated successfully, but these errors were encountered:
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:
linux
julia:
1.0
script:
julia -e 'using Pkg; Pkg.activate("."); Pkg.instantiate();'
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:
julia:
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.
The text was updated successfully, but these errors were encountered: