Skip to content

Commit 17157e0

Browse files
committed
add coverage script
1 parent 979a073 commit 17157e0

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ git:
1313

1414
## uncomment the following lines to allow failures on nightly julia
1515
## (tests will run but not make your overall status red)
16-
#matrix:
17-
# allow_failures:
18-
# - julia: nightly
16+
matrix:
17+
allow_failures:
18+
- julia: nightly
1919

2020
## uncomment following lines to deploy documentation
2121
# jobs:

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@
1010
[![codecov.io](http://codecov.io/github/RalphAS/IterativeRefinement.jl/coverage.svg?branch=master)](http://codecov.io/github/RalphAS/IterativeRefinement.jl?branch=master)
1111

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

1517
# Basic Usage
1618
```julia
1719
julia> using LinearAlgebra, IterativeRefinement
1820
julia> x, bnorm, bcomp = rfldiv(A,b)
1921
```
2022
This provides an accurate solution vector `x` and estimated bounds
21-
onf norm-wise and component-wise relative error. By default `LU` decomposition
23+
on norm-wise and component-wise relative error. By default `LU` decomposition
2224
is used.
2325

2426
# Advanced Usage

test/coverage/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[deps]
2+
Coverage = "a2441757-f6aa-5fb2-8edb-039e3f45d037"

test/coverage/coverage.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# only push coverage from one bot
2+
get(ENV, "TRAVIS_OS_NAME", nothing) == "linux" || exit(0)
3+
get(ENV, "TRAVIS_JULIA_VERSION", nothing) == "1.0" || exit(0)
4+
5+
using Coverage
6+
7+
cd(joinpath(@__DIR__, "..", "..")) do
8+
Codecov.submit(Codecov.process_folder())
9+
end

0 commit comments

Comments
 (0)