From b85840b463895346bb09795de2c32213a251a77d Mon Sep 17 00:00:00 2001 From: "femtocleaner[bot]" Date: Wed, 5 Sep 2018 01:29:51 +0200 Subject: [PATCH 1/2] Fix deprecations (#33) --- README.md | 2 +- src/CovarianceMatrices.jl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 2b1b692..1b06bdf 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Consider the following artificial data (a regression with autoregressive error c ```julia using CovarianceMatrices using DataFrames -srand(1) +Random.seed!(1) n = 500 x = randn(n,5) u = Array{Float64}(2*n) diff --git a/src/CovarianceMatrices.jl b/src/CovarianceMatrices.jl index c03069d..afb3692 100644 --- a/src/CovarianceMatrices.jl +++ b/src/CovarianceMatrices.jl @@ -1,4 +1,3 @@ -__precompile__(true) module CovarianceMatrices using Reexport From 9f8ab60143f4600ecdacc70cb8f7b336e733d4b0 Mon Sep 17 00:00:00 2001 From: Giuseppe Ragusa Date: Wed, 5 Sep 2018 01:37:36 +0200 Subject: [PATCH 2/2] Fix coverage sub --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 581ca9a..315b345 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,6 @@ notifications: email: false script: - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("CovarianceMatrices"); Pkg.test("CovarianceMatrices"; coverage=true)' + - julia --check-bounds=yes -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("CovarianceMatrices"); Pkg.test("CovarianceMatrices"; coverage=true)' after_success: - - julia -e 'cd(Pkg.dir("CovarianceMatrices")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(process_folder())' + - julia -e 'cd(Pkg.dir("CovarianceMatrices")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder()); Coveralls.submit(Coveralls.process_folder())'