Skip to content

Commit acdc2cc

Browse files
committed
srand -> Random.seed!
Add 0.7 to travis
1 parent 6b568cb commit acdc2cc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ os:
55
- osx
66
julia:
77
- 0.6
8+
- 0.7
89
- nightly
910
notifications:
1011
email: false

test/runtests.jl

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ for r in map(BLOCKRANK, subtypes(AbstractFloat))
66
@test iseven(r)
77
end
88

9-
srand(0)
9+
if VERSION < v"0.7"
10+
srand(0)
11+
else
12+
Random.seed!(0)
13+
end
1014

1115
@hierarchical UpperTriangularHierarchicalMatrix Matrix (UpperTriangular, LowRankMatrix) Diagonal
1216

0 commit comments

Comments
 (0)