Skip to content

Commit 8e8a0e3

Browse files
Merge pull request #102 from juliangehring/julia-v1.0
Support for julia v1.0
2 parents f70264c + 2f0bc6a commit 8e8a0e3

File tree

6 files changed

+27
-23
lines changed

6 files changed

+27
-23
lines changed

.appveyor.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
environment:
22
matrix:
3-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7-latest-win64.exe"
3+
- julia_version: 0.7
4+
- julia_version: 1
5+
6+
platform:
7+
- x64
48

59
matrix:
610
fast_finish: true
@@ -12,19 +16,12 @@ notifications:
1216
on_build_status_changed: false
1317

1418
install:
15-
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
16-
# Download most recent Julia Windows binary
17-
- ps: (new-object net.webclient).DownloadFile(
18-
$env:JULIA_URL,
19-
"C:\projects\julia-binary.exe")
20-
# Run installer silently, output to C:\projects\julia
21-
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
19+
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
2220

2321
build_script:
24-
# Need to convert from shallow to complete for Pkg.clone to work
25-
- IF EXIST .git\shallow (git fetch --unshallow)
26-
- C:\projects\julia\bin\julia -e "versioninfo();
27-
Pkg.clone(pwd(), \"MultipleTesting\"); Pkg.build(\"MultipleTesting\")"
22+
- echo "%JL_BUILD_SCRIPT%"
23+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
2824

2925
test_script:
30-
- C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"MultipleTesting\")"
26+
- echo "%JL_TEST_SCRIPT%"
27+
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"

.codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ coverage:
1616
project: true
1717

1818
flags:
19-
julia_0_6:
19+
julia_1_0:
2020
joined: true
2121

2222
parsers:

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ language: julia
22

33
os:
44
- linux
5+
- osx
56

67
julia:
78
- 0.7
9+
- 1.0
810

911
matrix:
1012
fast_finish: true
@@ -14,10 +16,6 @@ notifications:
1416
on_success: never
1517
on_failure: change
1618

17-
script:
18-
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
19-
- julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("MultipleTesting"); Pkg.test("MultipleTesting"; coverage=true)'
20-
2119
after_success:
22-
- julia -e 'cd(Pkg.dir("MultipleTesting")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder(), flags="julia_$(VERSION.major)_$(VERSION.minor)")'
23-
- julia -e 'cd(Pkg.dir("MultipleTesting")); Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))'
20+
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder(), flags="julia_$(VERSION.major)_$(VERSION.minor)")'
21+
- julia -e 'using Pkg; Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))'

NEWS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# MultipleTesting.jl News and Changes
22

3+
## Version 0.4.1
4+
5+
### Changes
6+
7+
- Update continuous integration configuration
8+
- Add support for julia v1.0
9+
10+
### Support
11+
12+
- Supports julia v0.7 and v1.0
13+
14+
315
## Version 0.4.0
416

517
### Changes

test/test-pval-adjustment.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module Test_pval_adjustment
33

44
using MultipleTesting
55
using Test
6-
using Random
76

87

98
@testset "p-Value adjustment" begin
@@ -136,7 +135,6 @@ using Random
136135

137136
@testset "BarberCandès #2:" begin
138137
for k = 1:5
139-
srand(k)
140138
pv = rand(BetaUniformMixtureModel(0.5, 0.5, 7.0), 40)
141139
@test isapprox(adjust(pv, BarberCandes()),
142140
MultipleTesting.barber_candes_brute_force(pv), atol=1e-9)

test/test-utils.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module Test_utils
33

44
using MultipleTesting
55
using Test
6-
using Random
76

87

98
@testset "Utility functions" begin

0 commit comments

Comments
 (0)