Skip to content

Commit

Permalink
Upgrade to Julia 1.3+, use artifacts (#49)
Browse files Browse the repository at this point in the history
* Upgrade to Julia 1.3+, use artifacts

This makes use of the new Artifacts system within Julia 1.3+.  This
doesn't really change any core functionality, but it will benefit from
the installation improvements we are making to artifacts and binary
packages in general.

* Update testing versions
  • Loading branch information
staticfloat authored Mar 11, 2020
1 parent c513b62 commit 00210d2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 111 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ os:
- osx
- windows
julia:
- 1.0
- 1.1
- 1.3
- nightly
matrix:
allow_failures:
Expand Down
8 changes: 3 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ name = "CodecZlib"
uuid = "944b1d66-785c-5afd-91f1-9de20f533193"
license = "MIT"
authors = ["Kenta Sato <[email protected]>"]
version = "0.6.0"
version = "0.7.0"

[deps]
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
TranscodingStreams = "3bb67fe8-82b1-5028-8e26-92a6c54297fa"
Zlib_jll = "83775a58-1f1d-513f-b197-d71354ab007a"

[compat]
BinaryProvider = "0.5"
TranscodingStreams = "0.9"
julia = "1"
julia = "1.3"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
environment:
matrix:
- julia_version: 1.0
- julia_version: 1.1
- julia_version: 1.3
- julia_version: latest

platform:
Expand Down
94 changes: 0 additions & 94 deletions deps/build.jl

This file was deleted.

9 changes: 1 addition & 8 deletions src/CodecZlib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,7 @@ import TranscodingStreams:
initialize,
finalize,
splitkwargs
using Libdl

const libzpath = joinpath(dirname(@__FILE__), "..", "deps", "deps.jl")
if !isfile(libzpath)
error("CodecZlib.jl is not installed properly, run Pkg.build(\"CodecZlib\") and restart Julia.")
end
include(libzpath)
check_deps()
using Zlib_jll

include("libz.jl")
include("compression.jl")
Expand Down

4 comments on commit 00210d2

@KristofferC
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: Changing package repo URL not allowed, please submit a pull request with the URL change to the target registry and retry.

@KristofferC
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: Changing package repo URL not allowed, please submit a pull request with the URL change to the target registry and retry.

Please sign in to comment.