diff --git a/.travis.yml b/.travis.yml index 9bf07dd61b..7301a52360 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,5 +15,5 @@ matrix: allow_failures: - julia: nightly after_success: - - julia -e 'Pkg.add("Documenter")' - - julia -e 'cd(Pkg.dir("Flux")); include(joinpath("docs", "make.jl"))' + - julia -e 'using Pkg; Pkg.add("Documenter")' + - julia -e 'using Pkg; cd(Pkg.dir("Flux")); include(joinpath("docs", "make.jl"))' diff --git a/docs/make.jl b/docs/make.jl index ed6a8c8b62..b35beb3cf3 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -26,6 +26,6 @@ deploydocs( repo = "github.com/FluxML/Flux.jl.git", target = "build", osname = "linux", - julia = "0.6", + julia = "1.0", deps = nothing, make = nothing)