Skip to content

Commit c37887f

Browse files
authored
Merge pull request #3 from devmotion/ci
2 parents f8aebac + 00d1182 commit c37887f

File tree

4 files changed

+17
-60
lines changed

4 files changed

+17
-60
lines changed

.travis.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
# Documentation: http://docs.travis-ci.com/user/languages/julia/
22
language: julia
3+
branches:
4+
only:
5+
- master
36
os:
47
- linux
58
- osx
69
julia:
7-
- 1.0
8-
- 1.1
9-
- 1.2
10+
- 1
1011
- nightly
1112
matrix:
12-
allow_failures:
13-
- julia: nightly
13+
allow_failures:
14+
- julia: nightly
1415
notifications:
1516
email: false
16-
# uncomment the following lines to override the default test script
17-
#script:
18-
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
19-
# - julia -e 'Pkg.clone(pwd()); Pkg.build("StochasticDiffEq"); Pkg.test("StochasticDiffEq"; coverage=true)'
2017
after_success:
21-
# push coverage results to Coveralls
22-
- julia -e 'cd(Pkg.dir("StochasticDelayDiffEq")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
23-
# push coverage results to Codecov
24-
- julia -e 'cd(Pkg.dir("StochasticDelayDiffEq")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
18+
- if [[ $TRAVIS_JULIA_VERSION = 1 ]] && [[ $TRAVIS_OS_NAME = linux ]]; then
19+
julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())';
20+
julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())';
21+
fi

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed"
2222
[compat]
2323
DataStructures = "0.17"
2424
DelayDiffEq = "5"
25-
DiffEqBase = "6"
25+
DiffEqBase = "6.29"
2626
DiffEqNoiseProcess = "3.3.1"
2727
RandomNumbers = "1"
2828
RecursiveArrayTools = "1,2"
2929
Reexport = "0.2"
3030
StaticArrays = "0.11, 0.12"
31-
StochasticDiffEq = "6.11"
31+
StochasticDiffEq = "6.19"
3232
UnPack = "0.1"
33-
julia = "1"
33+
julia = "1.3"
3434

3535
[extras]
3636
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"

appveyor.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

test/test_prob_sol.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ padd = [1.0,-4.,-2.,10.,-0.0,-0.0, 0.1]
6161
@test sol.u[end] != zeros(1)
6262
sol = @test_nowarn solve(prob,SOSRI2(),dt=0.01)
6363
@test sol.u[end] != zeros(1)
64+
6465
# Additive problems
66+
println("additive problems")
6567
prob.p .= padd;
6668
sol = @test_nowarn solve(prob,SRA(),dt=0.01)
6769
@test sol.u[end] != zeros(1)
@@ -78,6 +80,7 @@ padd = [1.0,-4.,-2.,10.,-0.0,-0.0, 0.1]
7880
# @test_nowarn solve(prob,SKenCarp(),dt=0.01) # Not working
7981

8082
# Test SROCK methods
83+
println("SROCK methods")
8184
prob.p .= pmul;
8285
sol = @test_nowarn solve(prob,SROCK1(),dt=0.01)
8386
@test sol.u[end] != zeros(1)
@@ -101,6 +104,7 @@ padd = [1.0,-4.,-2.,10.,-0.0,-0.0, 0.1]
101104
end
102105

103106
# Test Implicit methods
107+
println("implicit methods")
104108
sol = @test_nowarn solve(prob,ImplicitEM(),dt=0.01)
105109
@test sol.u[end] != zeros(1)
106110
sol = @test_nowarn solve(prob,ImplicitEM(symplectic=true, theta = 1/2),dt=0.01)

0 commit comments

Comments
 (0)