Skip to content

Commit 9aa7afb

Browse files
committed
travis
1 parent 5fe4472 commit 9aa7afb

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.travis.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,25 @@ julia:
88
- 1.0
99
- nightly
1010

11-
matrix:
11+
notifications:
12+
email: false
13+
14+
jobs:
1215
allow_failures:
1316
- julia: nightly
17+
include:
18+
- stage: "Documentation"
19+
julia: 1.3
20+
os: linux
21+
script:
22+
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
23+
- julia --project=docs/ docs/make.jl
24+
name: "HTML"
25+
after_success: skip
1426

15-
notifications:
16-
email: false
1727

1828
# uncomment the following lines to override the default test script
19-
script:
20-
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
21-
- julia -e 'using Pkg, InteractiveUtils; versioninfo(); Pkg.clone(pwd()); Pkg.build("GraphIO"); Pkg.test("GraphIO"; coverage=true)'
29+
script: julia -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'
2230

2331
after_success:
24-
- julia -e 'using Pkg; cd(Pkg.dir("GraphIO")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
25-
- julia -e 'using Pkg; Pkg.add("Documenter")'
26-
- julia -e 'using Pkg; cd(Pkg.dir("GraphIO")); include(joinpath("docs", "make.jl"))'
32+
- julia -e 'using Pkg; import GraphIO; cd(joinpath(dirname(pathof(GraphIO)), "..")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'

0 commit comments

Comments
 (0)