Skip to content

Commit 28eec11

Browse files
authored
Merge pull request #740 from JuliaRobotics/21Q1/maint/prep12
rm depr warn
2 parents 72ba413 + e3aefc3 commit 28eec11

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ language: julia
22
sudo: required
33

44
os:
5-
- linux
5+
- linux
66

77
arch:
8-
- amd64
8+
- amd64
99

1010
services:
11-
- neo4j
11+
- neo4j
1212

1313
julia:
14-
- 1.5
15-
- nightly
14+
- 1.5
15+
- nightly
1616

1717
env:
18-
- IIF_TEST=false
18+
- IIF_TEST=false
1919

2020
branches:
2121
only:
@@ -29,9 +29,10 @@ jobs:
2929
- julia: 1.4
3030
env:
3131
- IIF_TEST=true
32+
- DO_CGDFG_TESTS=true
3233
if: NOT branch =~ /(^v\d+\.\d+(\.\d+)?([-+]\S*)?$)|(^release.*$)/
3334
- arch: arm64
34-
env: SKIP_CGDFG_TESTS=true
35+
env: DO_CGDFG_TESTS=false
3536
before_script:
3637
- stage: "Documentation"
3738
julia: 1.4

src/Deprecated.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,9 @@ end
135135
## Deprecated in v0.11 Remove in the v0.12 cycle
136136
##==============================================================================
137137

138-
export AbstractRelativeFactor, AbstractRelativeFactorMinimize
139-
138+
# @warn("BREAKING CHANGE coming to DistributedFactorGraphs v0.12: deprecating AbstractRelativeFactor, use AbstractRelativeRoots instead")
139+
# @warn("BREAKING CHANGE coming to DistributedFactorGraphs v0.12: deprecating AbstractRelativeFactorMinimize, use AbstractRelativeMinimize instead")
140+
# export AbstractRelativeFactor, AbstractRelativeFactorMinimize
140141
const AbstractRelativeFactor = AbstractRelativeRoots
141142
const AbstractRelativeFactorMinimize = AbstractRelativeMinimize
142143

src/DistributedFactorGraphs.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,6 @@ if get(ENV, "DFG_USE_CGDFG", "") == "true"
315315
end
316316

317317
function __init__()
318-
@warn("BREAKING CHANGE coming to DistributedFactorGraphs v0.12: deprecating AbstractRelativeFactor, use AbstractRelativeRoots instead")
319-
@warn("BREAKING CHANGE coming to DistributedFactorGraphs v0.12: deprecating AbstractRelativeFactorMinimize, use AbstractRelativeMinimize instead")
320-
321318
@require GraphPlot = "a2cc645c-3eea-5389-862e-a155d0052231" begin
322319
@info "DistributedFactorGraphs.jl is adding tools using GraphPlot.jl"
323320
include("DFGPlots/DFGPlots.jl")

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ end
3232
end
3333

3434

35-
if get(ENV, "SKIP_CGDFG_TESTS", "") != "true"
35+
if get(ENV, "DO_CGDFG_TESTS", "") == "true"
3636
apis = [
3737
LightDFG,
3838
CloudGraphsDFG,
@@ -87,7 +87,7 @@ if get(ENV, "IIF_TEST", "") == "true"
8787

8888
apis = Vector{AbstractDFG}()
8989
push!(apis, LightDFG(solverParams=SolverParams(), userId="testUserId"))
90-
get(ENV, "SKIP_CGDFG_TESTS", "false") != "true" && push!(apis, CloudGraphsDFG(solverParams=SolverParams(), userId="testUserId"))
90+
get(ENV, "DO_CGDFG_TESTS", "false") == "true" && push!(apis, CloudGraphsDFG(solverParams=SolverParams(), userId="testUserId"))
9191

9292
for api in apis
9393
@testset "Testing Driver: $(typeof(api))" begin

0 commit comments

Comments
 (0)