You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+18-7Lines changed: 18 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,28 @@ os:
4
4
- linux
5
5
- osx
6
6
julia:
7
-
- 0.6
7
+
- 0.7
8
+
- 1.0
8
9
- nightly
9
10
notifications:
10
11
email: false
11
-
# uncomment the following lines to override the default test script
12
+
12
13
script:
13
14
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
14
-
- julia -e 'Pkg.clone(pwd()); Pkg.build("ImageFiltering"); Pkg.test("ImageFiltering"; coverage=VERSION >= v"0.6.0-alpha")'
15
+
- julia -e 'import Pkg; Pkg.clone(pwd()); Pkg.build("ImageFiltering")'
16
+
- julia --check-bounds=yes --color=yes -e 'import Pkg; Pkg.test("ImageFiltering"; coverage=true)'
17
+
# control of actual deployment is in the Documenter make script
18
+
jobs:
19
+
include:
20
+
- stage: deploy
21
+
julia: 0.7
22
+
os: linux
23
+
script:
24
+
- julia -e 'import Pkg; Pkg.clone(pwd()); Pkg.build("ImageFiltering")'
25
+
- julia -e 'import Pkg; Pkg.add("Documenter")'
26
+
- julia -e 'import ImageFiltering; ENV["DOCUMENTER_DEBUG"] = "true"; include(joinpath("docs","make.jl"))'
27
+
15
28
after_success:
16
29
# push coverage results to Codecov
17
-
- julia -e 'if VERSION >= v"0.6.0-alpha" cd(Pkg.dir("ImageFiltering")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder()); end'
18
-
# update the documentation
19
-
- julia -e 'Pkg.add("Documenter")'
20
-
- julia -e 'cd(Pkg.dir("ImageFiltering")); ENV["DOCUMENTER_DEBUG"] = "true"; include(joinpath("docs", "make.jl"))'
30
+
- julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
Construct an instance of [`Pad`](@ref) by designating the value `val` and a filter array `kernel` which will be used to determine the amount of padding from the `indices` of `kernel`.
214
+
Construct an instance of [`Pad`](@ref) by designating the value `val` and a filter array `kernel` which will be used to determine the amount of padding from the `axes` of `kernel`.
215
215
216
216
#### Usage illustration
217
217
@@ -228,19 +228,19 @@ the minimal amount of padding necessary to ensure that convolution with
228
228
# Padding for FFT: round up to next size expressible as 2^m*3^n
error("Unable to fill! an array of element type $(eltype(A)) with the value $(f.value). Supply an appropriate value to `Fill`, such as `zero(eltype(A))`.")
904
905
end
905
-
906
-
# We would have liked to do A[indices(img)...] = img, but this calls size(img)
907
-
# which is not defined if img is of type OffsetArrays.
908
-
for I in Compat.CartesianIndices(Compat.axes(img))
Generate an index-vector to be used for padding. `inds` specifies the image indices along a particular axis; `lo` and `hi` are the amount to pad on the lower and upper, respectively, sides of this axis. `border` specifying the style of padding.
916
+
Generate an index-vector to be used for padding. `inds` specifies the image axes along a particular axis; `lo` and `hi` are the amount to pad on the lower and upper, respectively, sides of this axis. `border` specifying the style of padding.
0 commit comments