Merge pull request #233 from JuliaFEM/ahojukka5/issue_232

Fix broken test
This commit is contained in:
Jukka Aho
2019-09-13 17:31:31 +03:00
committed by GitHub
3 changed files with 8 additions and 7 deletions
+4 -6
View File
@@ -4,8 +4,8 @@ os:
- linux
julia:
- 0.7
- 1.0
- 1.2
- 1.3
- nightly
addons:
@@ -20,12 +20,10 @@ matrix:
jobs:
include:
- stage: "Documentation"
julia: 1.0
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ -e 'import Pkg; Pkg.add("Documenter"); include("docs/make.jl")'
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip
after_success:
+3
View File
@@ -0,0 +1,3 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
@@ -34,4 +34,4 @@ eigs_expected = [8809.45, 4936.01, 2880.56, 2491.66, 2004.85,
195.832, 104.008, 72.7562, 64.4376, 53.8515,
23.8417, 16.6354, 9.54682, 6.93361, 2.22099,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
@test isapprox(eigs, eigs_expected; atol=1.0e-2)
@test isapprox(sort(eigs), sort(eigs_expected); atol=1.0e-2)