Skip to content

Commit 21eba38

Browse files
Merge pull request #51 from andreasnoack/an/coverage
Update .travis.yml and appveyor.yml and update links in README.md
2 parents efb06cd + 86f5d37 commit 21eba38

File tree

3 files changed

+30
-18
lines changed

3 files changed

+30
-18
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ os:
44
- linux
55
# - osx
66
julia:
7+
- 1.0
8+
- 1.1
79
- nightly
810
notifications:
911
email: false
@@ -13,6 +15,6 @@ notifications:
1315
# - julia -e 'Pkg.clone(pwd()); Pkg.build("DiffEqDiffTools"); Pkg.test("DiffEqDiffTools"; coverage=true)'
1416
after_success:
1517
# push coverage results to Coveralls
16-
- julia -e 'cd(Pkg.dir("DiffEqDiffTools")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
18+
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
1719
# push coverage results to Codecov
18-
- julia -e 'cd(Pkg.dir("DiffEqDiffTools")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
20+
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
[![Build Status](https://travis-ci.org/JuliaDiffEq/DiffEqDiffTools.jl.svg?branch=master)](https://travis-ci.org/JuliaDiffEq/DiffEqDiffTools.jl)
66
[![Build status](https://ci.appveyor.com/api/projects/status/t3risc94d2jqipd6?svg=true)](https://ci.appveyor.com/project/ChrisRackauckas/diffeqdifftools-jl)
7-
[![Coverage Status](https://coveralls.io/repos/ChrisRackauckas/DiffEqDiffTools.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/ChrisRackauckas/DiffEqDiffTools.jl?branch=master)
8-
[![codecov.io](http://codecov.io/github/ChrisRackauckas/DiffEqDiffTools.jl/coverage.svg?branch=master)](http://codecov.io/github/ChrisRackauckas/DiffEqDiffTools.jl?branch=master)
9-
[![DiffEqDiffTools](http://pkg.julialang.org/badges/DiffEqDiffTools_0.6.svg)](http://pkg.julialang.org/?pkg=DiffEqDiffTools)
7+
[![Coverage Status](https://coveralls.io/repos/JuliaDiffEq/DiffEqDiffTools.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/JuliaDiffEq/DiffEqDiffTools.jl?branch=master)
8+
[![codecov.io](http://codecov.io/github/JuliaDiffEq/DiffEqDiffTools.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaDiffEq/DiffEqDiffTools.jl?branch=master)
109

1110
DiffEqDiffTools.jl is a component package in the DifferentialEquations ecosystem.
1211
It holds the common tools for taking derivatives, Jacobians, etc. and utilizing

appveyor.yml

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
environment:
22
matrix:
3-
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
4-
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
3+
- julia_version: 1
4+
- julia_version: 1.1
5+
- julia_version: nightly
6+
7+
platform:
8+
- x86 # 32-bit
9+
- x64 # 64-bit
10+
11+
# # Uncomment the following lines to allow failures on nightly julia
12+
# # (tests will run but not make your overall status red)
13+
# matrix:
14+
# allow_failures:
15+
# - julia_version: nightly
516

617
branches:
718
only:
@@ -15,18 +26,18 @@ notifications:
1526
on_build_status_changed: false
1627

1728
install:
18-
# Download most recent Julia Windows binary
19-
- ps: (new-object net.webclient).DownloadFile(
20-
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
21-
"C:\projects\julia-binary.exe")
22-
# Run installer silently, output to C:\projects\julia
23-
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
29+
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
2430

2531
build_script:
26-
# Need to convert from shallow to complete for Pkg.clone to work
27-
- IF EXIST .git\shallow (git fetch --unshallow)
28-
- C:\projects\julia\bin\julia -e "versioninfo();
29-
Pkg.clone(pwd(), \"DiffEqDiffTools\"); Pkg.build(\"DiffEqDiffTools\")"
32+
- echo "%JL_BUILD_SCRIPT%"
33+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
3034

3135
test_script:
32-
- C:\projects\julia\bin\julia -e "Pkg.test(\"DiffEqDiffTools\")"
36+
- echo "%JL_TEST_SCRIPT%"
37+
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
38+
39+
# # Uncomment to support code coverage upload. Should only be enabled for packages
40+
# # which would have coverage gaps without running on Windows
41+
# on_success:
42+
# - echo "%JL_CODECOV_SCRIPT%"
43+
# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"

0 commit comments

Comments
 (0)