Skip to content

Commit 4ba023f

Browse files
committed
Split up build in two parallel jobs.
1 parent 1090ebb commit 4ba023f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
language: julia
22
os: linux
3-
julia: 1.0
3+
julia: 1.4
4+
env:
5+
- BUILDTYPE=releases
6+
- BUILDTYPE=nightly
47

58
branches:
69
only: master
@@ -13,6 +16,5 @@ script:
1316
git clone https://github.com/JuliaLang/julia.git $JULIA_SOURCE
1417
- export JULIA_DOCS=$PWD/pdf/build/docs.julialang.org &&
1518
git clone https://github.com/JuliaLang/docs.julialang.org.git -b assets --single-branch $JULIA_DOCS
16-
- julia --color=yes pdf/make.jl releases
17-
- julia --color=yes pdf/make.jl nightly
19+
- julia --color=yes pdf/make.jl ${BUILDTYPE}
1820
- julia --color=yes pdf/make.jl commit

pdf/make.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ function commit()
140140
end
141141
@info "committing built PDF files."
142142

143+
# Make sure the repo is up to date
144+
run(`git pull origin`)
145+
143146
mktemp() do keyfile, iokey; mktemp() do sshconfig, iossh
144147
# Set up keyfile
145148
write(iokey, base64decode(get(ENV, "DOCUMENTER_KEY_PDF", "")))

0 commit comments

Comments
 (0)