Skip to content

Commit 725708a

Browse files
authored
Enable CI for julia version 1.2 (#610)
* Enable CI for julia version 1.2 * Skip crashing test case on >= 1.2.0-rc1 for now.
1 parent 3b1c73f commit 725708a

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ os:
66
julia:
77
- 1.0
88
- 1.1
9+
- 1.2
910
- nightly
1011
matrix:
1112
allow_failures:

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ environment:
22
matrix:
33
- julia_version: 1.0
44
- julia_version: 1.1
5+
- julia_version: 1.2
56
- julia_version: latest
67

78
platform:

test/SHermitianCompact.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,13 @@ fill3(x) = fill(3, x)
218218

219219
@testset "transpose/adjoint" begin
220220
a = Hermitian([[rand(Complex{Int}) for i = 1 : 2, j = 1 : 2] for row = 1 : 3, col = 1 : 3])
221-
@test transpose(SHermitianCompact{3}(a)) == transpose(a)
221+
if VERSION < v"1.2.0-"
222+
@test transpose(SHermitianCompact{3}(a)) == transpose(a)
223+
else
224+
# FIXME: This `transpose(a)` crashes in v1.2.0-rc1.
225+
# See https://github.com/JuliaLang/julia/issues/32222
226+
@test_skip transpose(SHermitianCompact{3}(a)) == transpose(a)
227+
end
222228
@test adjoint(SHermitianCompact{3}(a)) == adjoint(a)
223229

224230
b = Hermitian([rand(Complex{Int}) for i = 1 : 3, j = 1 : 3])

0 commit comments

Comments
 (0)