Skip to content

Commit

Permalink
add coverage script
Browse files Browse the repository at this point in the history
  • Loading branch information
RalphAS committed Jan 5, 2019
1 parent 979a073 commit 17157e0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ git:

## uncomment the following lines to allow failures on nightly julia
## (tests will run but not make your overall status red)
#matrix:
# allow_failures:
# - julia: nightly
matrix:
allow_failures:
- julia: nightly

## uncomment following lines to deploy documentation
# jobs:
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@
[![codecov.io](http://codecov.io/github/RalphAS/IterativeRefinement.jl/coverage.svg?branch=master)](http://codecov.io/github/RalphAS/IterativeRefinement.jl?branch=master)

This package is an implementation of multi-precision iterative refinement for
linear matrix-vector problems of the form `A x = b`.
linear matrix-vector problems of the form

`A x = b`.

# Basic Usage
```julia
julia> using LinearAlgebra, IterativeRefinement
julia> x, bnorm, bcomp = rfldiv(A,b)
```
This provides an accurate solution vector `x` and estimated bounds
onf norm-wise and component-wise relative error. By default `LU` decomposition
on norm-wise and component-wise relative error. By default `LU` decomposition
is used.

# Advanced Usage
Expand Down
2 changes: 2 additions & 0 deletions test/coverage/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[deps]
Coverage = "a2441757-f6aa-5fb2-8edb-039e3f45d037"
9 changes: 9 additions & 0 deletions test/coverage/coverage.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# only push coverage from one bot
get(ENV, "TRAVIS_OS_NAME", nothing) == "linux" || exit(0)
get(ENV, "TRAVIS_JULIA_VERSION", nothing) == "1.0" || exit(0)

using Coverage

cd(joinpath(@__DIR__, "..", "..")) do
Codecov.submit(Codecov.process_folder())
end

0 comments on commit 17157e0

Please sign in to comment.