-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4e7b08
commit 73a2f1b
Showing
2 changed files
with
12 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,18 @@ | ||
# Until https://github.com/julia-actions/julia-uploadcodecov/issues/1 get fixed | ||
# submit coverage report via travis | ||
language: julia | ||
os: | ||
- linux | ||
julia: | ||
- 1.0 | ||
julia: 1.0 | ||
os: linux | ||
notifications: | ||
email: false | ||
|
||
# use default julia script for test | ||
# script: | ||
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi | ||
# - julia --check-bounds=yes --color=yes -e 'import Pkg; Pkg.clone(pwd()); Pkg.build("ImageCore"); Pkg.test("ImageCore"; coverage=true)'; | ||
|
||
# control of actual deployment is in the Documenter make script | ||
jobs: | ||
include: | ||
- stage: deploy | ||
julia: 1.0 | ||
os: linux | ||
script: | ||
# - julia -e 'import Pkg; Pkg.clone(pwd()); Pkg.build("ImageCore")' | ||
- julia -e 'import Pkg; Pkg.add("Documenter")' | ||
- julia -e 'import ImageCore; ENV["DOCUMENTER_DEBUG"] = "true"; include(joinpath("docs","make.jl"))' | ||
- stage: Coverage | ||
codecov: true | ||
|
||
after_success: | ||
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())' | ||
- stage: Documentation | ||
script: | ||
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); | ||
Pkg.instantiate()' | ||
- julia --project=docs/ docs/make.jl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters