From 06349c7b2a109a34f99393bf1eceea847a0459de Mon Sep 17 00:00:00 2001 From: "David P. Sanders" Date: Tue, 16 Jul 2019 15:07:05 -0400 Subject: [PATCH] Project.toml (#37) * Replace REQUIRE with Project.toml * Add version * Version 0.4 since bumping minimal Julia version * Update .yml * Remove Julia 1.0 compatibility * Fix test --- .travis.yml | 4 ++-- Project.toml | 17 +++++++++++++++++ REQUIRE | 2 -- appveyor.yml | 4 ++-- test/runtests.jl | 2 +- 5 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 Project.toml delete mode 100644 REQUIRE diff --git a/.travis.yml b/.travis.yml index 4751104..2672ce5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,8 @@ os: - osx julia: - - 0.7 - - 1.0 + - 1.1 + - 1.2 - nightly matrix: diff --git a/Project.toml b/Project.toml new file mode 100644 index 0000000..3ba2059 --- /dev/null +++ b/Project.toml @@ -0,0 +1,17 @@ +name = "IntervalContractors" +uuid = "15111844-de3b-5229-b4ba-526f2f385dc9" +version = "0.4.0" + +[deps] +IntervalArithmetic = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253" + +[compat] +IntervalArithmetic = "≥ 0.16" +julia = "≥ 1.1" + +[extras] +Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[targets] +test = ["Documenter", "Test"] diff --git a/REQUIRE b/REQUIRE deleted file mode 100644 index 2528c88..0000000 --- a/REQUIRE +++ /dev/null @@ -1,2 +0,0 @@ -julia 0.7 -IntervalArithmetic 0.15 diff --git a/appveyor.yml b/appveyor.yml index c2588f1..7de9dc7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,7 @@ environment: matrix: - - julia_version: 0.7 - - julia_version: 1 + - julia_version: 1.1 + - julia_version: 1.2 - julia_version: nightly platform: diff --git a/test/runtests.jl b/test/runtests.jl index 7c7feb0..fa8b510 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -18,6 +18,6 @@ using Test y = -1..1 z = 2..10 - @test_broken mul_rev(z, x, y) == (2..10, 2..5, 0.4..1.0) # fix once extended_div is corrected + @test mul_rev(z, x, y) == (2..10, 2..5, 0.4..1.0) end end