Skip to content

Commit d2b16d5

Browse files
authored
Clean up docs deployment (#72)
1 parent 1f064b5 commit d2b16d5

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,12 @@ notifications:
1212
email: false
1313
after_success:
1414
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
15-
- julia -e 'using Pkg; ps=Pkg.PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps); include(joinpath("docs", "make.jl"))'
15+
jobs:
16+
include:
17+
- stage: "Documentation"
18+
julia: 1.1
19+
os: linux
20+
script:
21+
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
22+
- julia --project=docs/ docs/make.jl
23+
after_success: skip

docs/Project.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[deps]
2+
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
3+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
4+
TranscodingStreams = "3bb67fe8-82b1-5028-8e26-92a6c54297fa"
5+
6+
[compat]
7+
Documenter = "~0.21"

docs/make.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,4 @@ makedocs(
88
assets=["assets/custom.css"],
99
)
1010

11-
deploydocs(
12-
repo="github.com/bicycle1885/TranscodingStreams.jl.git",
13-
target="build",
14-
deps=nothing,
15-
make=nothing)
11+
deploydocs(repo="github.com/bicycle1885/TranscodingStreams.jl.git")

0 commit comments

Comments
 (0)