Skip to content

Commit

Permalink
Merge pull request #13 from yuyichao/compat
Browse files Browse the repository at this point in the history
Remove Compat as dependency and more
  • Loading branch information
yuyichao authored Feb 27, 2020
2 parents 7695b19 + 05c2195 commit 47f02f3
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: TagBot
on:
schedule:
- cron: 0 * * * *
jobs:
TagBot:
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ julia:
- 1.1
- 1.2
- 1.3
- 1.4
- nightly
matrix:
allow_failures:
- julia: 1.4
- julia: nightly
after_success:
- julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
6 changes: 1 addition & 5 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name = "FunctionWrappers"
uuid = "069b7b12-0de2-55c6-9aab-29f3d0a68a2e"
version = "1.1.0"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
version = "1.1.1"

[compat]
Compat = "2.2, 3.0"
julia = "1"

[extras]
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ environment:
- julia_version: 1.1
- julia_version: 1.2
- julia_version: 1.3
- julia_version: 1.4
- julia_version: nightly

platform:
Expand All @@ -12,6 +13,7 @@ platform:

matrix:
allow_failures:
- julia_version: 1.4
- julia_version: latest

branches:
Expand Down
2 changes: 0 additions & 2 deletions src/FunctionWrappers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ __precompile__(true)

module FunctionWrappers

using Compat

# Used to bypass NULL check
@inline function assume(v::Bool)
Base.llvmcall(("declare void @llvm.assume(i1)",
Expand Down
3 changes: 1 addition & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

import FunctionWrappers
import FunctionWrappers: FunctionWrapper
using Compat
using Compat.Test
using Test

struct CallbackF64
f::FunctionWrapper{Float64,Tuple{Int}}
Expand Down

2 comments on commit 47f02f3

@sethaxen
Copy link
Collaborator

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.

Registration pull request created: JuliaRegistries/General/10201

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v1.1.1 -m "<description of version>" 47f02f3994d1ae83aeba8823ccffd4d788e984ba
git push origin v1.1.1

Please sign in to comment.