Skip to content

Commit

Permalink
Support for Julia 0.7 and Julia 1.0 (#179)
Browse files Browse the repository at this point in the history
* Compatibility with Julia 1.0; fix versions in REQUIRE files

Docs will be built using Julia 1.0

* Delete upper bound for Julia version in REQUIRE

* Remove Julia 1.0 from the allowed failures in travis

* Add "Build status" (travis) badge to README.md
  • Loading branch information
lbenet authored Sep 5, 2018
1 parent 481570c commit 01085ab
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ notifications:

matrix:
allow_failures:
- julia: 1.0
- julia: nightly

script:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ independent variables.

[![TaylorSeries](http://pkg.julialang.org/badges/TaylorSeries_0.6.svg)](http://pkg.julialang.org/?pkg=TaylorSeries)
[![TaylorSeries](http://pkg.julialang.org/badges/TaylorSeries_0.7.svg)](http://pkg.julialang.org/?pkg=TaylorSeries)
[![Build Status](https://api.travis-ci.org/JuliaDiff/TaylorSeries.jl.svg)](https://travis-ci.org/JuliaDiff/TaylorSeries.jl)

[![Coverage Status](https://coveralls.io/repos/JuliaDiff/TaylorSeries.jl/badge.svg?branch=master)](https://coveralls.io/github/JuliaDiff/TaylorSeries.jl?branch=master)

[![](https://img.shields.io/badge/docs-stable-blue.svg)](http://www.juliadiff.org/TaylorSeries.jl/stable)
Expand Down
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
julia 0.7.0 1.0
julia 0.7.0
2 changes: 1 addition & 1 deletion docs/REQUIRE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Documenter 0.19.5
Documenter 0.19.6
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ makedocs(
deploydocs(
repo = "github.com/JuliaDiff/TaylorSeries.jl.git",
target = "build",
julia = "0.7",
julia = "1.0",
osname = "linux",
deps = nothing,
make = nothing
Expand Down
7 changes: 6 additions & 1 deletion src/TaylorSeries.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ module TaylorSeries

using InteractiveUtils: subtypes
using SparseArrays: SparseMatrixCSC
import LinearAlgebra: norm, gradient, mul!
using Markdown
import LinearAlgebra: norm, mul!
if VERSION v"1.0.0"
export gradient
else
import LinearAlgebra: gradient
end

import Base: ==, +, -, *, /, ^

Expand Down
2 changes: 1 addition & 1 deletion test/REQUIRE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntervalArithmetic 0.14.0
IntervalArithmetic 0.15.0

0 comments on commit 01085ab

Please sign in to comment.