Skip to content

Commit

Permalink
improve dependencies and testing
Browse files Browse the repository at this point in the history
  • Loading branch information
aviks committed Nov 1, 2020
1 parent 48788ac commit 367b61c
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 68 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: TagBot
on:
schedule:
- cron: 49 23 * * *
issue_comment:
types:
- created
workflow_dispatch:
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
Expand Down
37 changes: 21 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
language: julia
os:
- linux
- osx
- windows
env:
- DATADEPS_ALWAYS_ACCEPT=true
julia:
- 1.0
- 1.3
- 1
- nightly
matrix:
allow_failures:
- julia: nightly
exclude:
- os: osx
julia: 1.3
- os: windows
julia: 1.3
- os: osx
julia: nightly
- os: windows
julia: nightly
fast_finish: true
branches:
only:
- master
- /release-.*/
notifications:
email: false
before_script: julia -e 'VERSION < v"1.3" && rm("Manifest.toml"; force = true)'
jobs:
include:
- stage: "Documentation"
julia: 1.0
os: linux
script:
- julia --project=docs/ -e 'using Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate();
Pkg.build();'
- julia --project=docs/ docs/make.jl
after_success: skip
after_success:
- julia -e 'cd(Pkg.dir("TextAnalysis")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
2 changes: 1 addition & 1 deletion Artifacts.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ git-tree-sha1 = "b7b8c228827945936e76c895729682d081ac152c"

[[sentiment_model.download]]
sha256 = "5dcb031eccf01bb0b2d074281140679683f73603a54caa79941a1df1c8a6d70d"
url = "https://github.com/JuliaText/TextAnalysis.jl/releases/download/v0.3.0//sentiment.tar.gz"
url = "https://github.com/JuliaText/TextAnalysis.jl/releases/download/v0.3.0/sentiment.tar.gz"
14 changes: 10 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "TextModels"
uuid = "77b9cbda-2a23-51df-82a3-24144d1cd378"
license = "MIT"
desc = "Julia package for text analysis"
version = "0.9.0"
version = "0.1.0"

[deps]
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
Expand All @@ -24,9 +24,15 @@ Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
WordTokenizers = "796a5d58-b03d-544a-977e-18100b691f6e"

[compat]
BSON = ">= 0.2.5"
Flux = "< 0.10"
TextAnalysis = "0.9"
BSON = "0.2.5"
DataDeps = "0.7"
DataStructures = "0.17, 0.18"
Flux = "0.9"
Languages = "0.4"
NNlib = "0.6, 0.7"
StatsBase = "0.33"
TextAnalysis = "0.7"
WordTokenizers = "0.5"
julia = "1.3"

[extras]
Expand Down
45 changes: 0 additions & 45 deletions appveyor.yml

This file was deleted.

2 comments on commit 367b61c

@aviks
Copy link
Member Author

@aviks aviks commented on 367b61c Nov 1, 2020

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/24018

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 the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 367b61c13ea1d0faafa8f87b07a7f6acd86b5f9d
git push origin v0.1.0

Please sign in to comment.