From 63ad98733d96e31faba9157174e04deb197fb8ea Mon Sep 17 00:00:00 2001 From: Moritz Schauer Date: Thu, 6 Sep 2018 08:07:23 +0200 Subject: [PATCH 1/3] Deploy docs under 0.7 --- docs/make.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/make.jl b/docs/make.jl index 4c095b34..1d8cc500 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -13,7 +13,7 @@ makedocs( deploydocs( repo = "github.com/JuliaArrays/StaticArrays.jl.git", - julia = "0.6", + julia = "0.7", target = "build", deps = nothing, make = nothing From b96368830b2c06f09da8b7e59be32a6f6862b4e2 Mon Sep 17 00:00:00 2001 From: Moritz Schauer Date: Thu, 6 Sep 2018 08:22:48 +0200 Subject: [PATCH 2/3] Update .travis for 1.0 --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2bbc1a89..c7da1461 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ os: - osx julia: - 0.7 + - 1.0 - nightly notifications: email: false @@ -21,8 +22,8 @@ branches: # - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi # - julia -e 'Pkg.clone(pwd()); Pkg.build("StaticArrays"); Pkg.test("StaticArrays"; coverage=true)' after_success: - - if [ $TRAVIS_JULIA_VERSION = "0.6" ] && [ $TRAVIS_OS_NAME = "linux" ]; then - julia -e 'cd(Pkg.dir("StaticArrays")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(Codecov.process_folder())'; + - if [ $TRAVIS_JULIA_VERSION = "0.7" ] && [ $TRAVIS_OS_NAME = "linux" ]; then + julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(Codecov.process_folder())'; fi - - julia -e 'Pkg.add("Documenter")' - - julia -e 'cd(Pkg.dir("StaticArrays")); include(joinpath("docs", "make.jl"))' + - julia -e 'using Pkg; Pkg.add("Documenter")' + - julia -e 'import StaticArrays; cd(joinpath(dirname(pathof(StaticArrays)), "..")); include(joinpath("docs", "make.jl"))' From 96492907ff1c83ed9fc9845defa8b98335f7969a Mon Sep 17 00:00:00 2001 From: Moritz Schauer Date: Thu, 6 Sep 2018 09:06:42 +0200 Subject: [PATCH 3/3] Call julia on docs/make.jl directly --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c7da1461..3c6edac2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,4 +26,4 @@ after_success: julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(Codecov.process_folder())'; fi - julia -e 'using Pkg; Pkg.add("Documenter")' - - julia -e 'import StaticArrays; cd(joinpath(dirname(pathof(StaticArrays)), "..")); include(joinpath("docs", "make.jl"))' + - julia docs/make.jl