Skip to content

Commit f19100f

Browse files
committed
Version cruft cleanup in src/ and CI scripts
1 parent 4a102c9 commit f19100f

File tree

5 files changed

+3
-14
lines changed

5 files changed

+3
-14
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ julia:
1010
notifications:
1111
email: false
1212

13-
matrix:
14-
allow_failures:
15-
- julia: nightly
16-
1713
script:
1814
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
1915
- julia -e 'import Pkg; Pkg.clone(pwd()); Pkg.build("ImageFiltering")'

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
julia 0.7-beta2
1+
julia 0.7
22
FixedPointNumbers 0.3.0
33
Colors
44
ColorVectorSpace

appveyor.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
environment:
22
matrix:
33
- julia_version: 0.7
4+
- julia_version: 1.0
45
- julia_version: latest
56

67
platform:
78
- x86 # 32-bit
89
- x64 # 64-bit
910

10-
## uncomment the following lines to allow failures on nightly julia
11-
## (tests will run but not make your overall status red)
12-
matrix:
13-
allow_failures:
14-
- julia_version: latest
15-
1611
branches:
1712
only:
1813
- master

src/ImageFiltering.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
VERSION < v"0.7.0-beta2.199" && __precompile__()
21
module ImageFiltering
32

43
using FFTW

test/border.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,7 @@ using Test
204204
@testset "Pad" begin
205205
@test Pad(:replicate,[1,2], [5,3]) == Pad(:replicate,(1,2), (5,3))
206206
@test @inferred(Pad{2}(:replicate, [1,2], [5,3])) == Pad(:replicate,(1,2), (5,3))
207-
paderr = false ? TypeError : MethodError
208-
@eval @test_throws $paderr Pad{3}(:replicate, [1,2], [5,3])
207+
@eval @test_throws MethodError Pad{3}(:replicate, [1,2], [5,3])
209208
@test @inferred(Pad(:circular)(rand(3,5))) == Pad(:circular, (0,0),(3,5))
210209
@test @inferred(Pad(:circular)(centered(rand(3,5)))) == Pad{2}(:circular, (1,2),(1,2))
211210
@test @inferred(Pad(:symmetric)(Kernel.Laplacian())) == Pad{2}(:symmetric, (1,1),(1,1))

0 commit comments

Comments
 (0)