Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Commit

Permalink
Drop v0.7 support and introduce Project.toml (#44)
Browse files Browse the repository at this point in the history
* introduce Project.toml

* update travis ci config

* upgrade LearnBase to v0.4
  • Loading branch information
iblislin authored May 5, 2020
1 parent c726529 commit 2430ebb
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.jl.cov
*.jl.*.cov
*.jl.mem
/Manifest.toml
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ os:
- linux

julia:
- 0.7
- 1.0
- 1.3
- 1.4

notifications:
email: false
27 changes: 27 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name = "Reinforce"
uuid = "0376cc21-f8a9-5fcf-8891-fde1415a4fd3"
authors = ["Thomas Breloff <[email protected]>"]

[deps]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
LearnBase = "7f8f8fb0-2700-5f03-b4bd-41f8cfc144b6"
LearningStrategies = "4e8a8231-0ba9-591b-8620-81c6740d7791"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

[compat]
Distributions = "0.23"
LearnBase = "0.4"
LearningStrategies = "0.2, 0.3, 0.4"
RecipesBase = "1"
Reexport = "0.1, 0.2"
StatsBase = "0.33"
julia = "1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
3 changes: 2 additions & 1 deletion src/Reinforce.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ using Distributions
using RecipesBase

@reexport using LearnBase
import LearnBase: learn!, transform!, grad!, params, grad
using LearnBase: DiscreteSet
import LearnBase: learn!, transform!, grad!, grad

using LearningStrategies
import LearningStrategies: setup!, hook, finished, cleanup!
Expand Down

2 comments on commit 2430ebb

@iblislin
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@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: "Project file should contain name, uuid and version"

Please sign in to comment.