Skip to content

Commit bf50901

Browse files
authored
Add and fix testing on Julia 1.0 (#22)
1 parent ff73919 commit bf50901

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,18 @@ notifications:
44
julia:
55
- 0.6
66
- 0.7
7+
- 1.0
78
- nightly
89
#script:
910
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
1011
# - julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.test("Decimals")'
1112
# - julia --code-coverage test/runtests.jl
1213
after_success:
13-
- julia -e 'cd(Pkg.dir("Decimals")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
14+
- |
15+
julia -e '
16+
VERSION >= v"0.7.0-DEV.3656" && using Pkg
17+
VERSION >= v"0.7.0-DEV.5183" || cd(Pkg.dir("Decimals"))
18+
Pkg.add("Coverage")
19+
using Coverage
20+
Coveralls.submit(Coveralls.process_folder())
21+
'

test/test_deprecated.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
using Decimals
22
using Compat.Test
3+
using Compat: @info
34

45
@testset "Deprecated Functions" begin
5-
info("The following deprecation warnings are expected")
6+
@info("The following deprecation warnings are expected")
67

78
@test inv(d) == map(inv, d)
89

0 commit comments

Comments
 (0)