Skip to content

Commit bb7da23

Browse files
felipenorisquinnj
authored andcommitted
fix docs build (#169)
1 parent df147f3 commit bb7da23

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed

.travis.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,24 @@ os:
88

99
julia:
1010
- 1.0
11+
- 1.1
1112
- nightly
1213

14+
env:
15+
- JULIA_PROJECT="@."
16+
1317
notifications:
1418
email: false
1519

1620
after_success:
17-
- julia -e 'using Pkg; cd(Pkg.dir("SQLite")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
18-
- julia -e 'using Pkg; Pkg.add("Documenter")'
19-
- julia -e 'using Pkg; cd(Pkg.dir("SQLite")); include(joinpath("docs", "make.jl"))'
21+
- julia -e 'ENV["TRAVIS_JULIA_VERSION"] != "1.1" && ENV["TRAVIS_OS_NAME"] != "linux" && exit(); using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
22+
23+
jobs:
24+
include:
25+
- stage: "Documentation"
26+
julia: 1.1
27+
os: linux
28+
script:
29+
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.build("SQLite")'
30+
- julia --project=docs/ docs/make.jl
31+
after_success: skip

docs/Project.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
SQLite = "0aa819cd-b072-5ff4-a722-6bc24af294d9"
4+
5+
[compat]
6+
Documenter = "~0.22"

docs/make.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@ using Documenter, SQLite
22

33
makedocs(
44
modules = [SQLite],
5-
format = :html,
65
sitename = "SQLite.jl",
76
pages = ["Home" => "index.md"]
87
)
98

109
deploydocs(
1110
repo = "github.com/JuliaDB/SQLite.jl.git",
1211
target = "build",
13-
deps = nothing,
14-
make = nothing,
15-
julia = "1.0",
16-
osname = "linux"
1712
)

0 commit comments

Comments
 (0)