Skip to content

Commit

Permalink
Add a Project file for the package and for docs (#144)
Browse files Browse the repository at this point in the history
Also add 1.1 to the Travis setup.
  • Loading branch information
ararslan authored Jan 26, 2019
1 parent 7459957 commit 8f19f7a
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
*.jl.cov
*.jl.*.cov
*.jl.mem
Manifest.toml
docs/build/
docs/site
docs/Manifest.toml
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ os:
julia:
- 0.7
- 1.0
- 1.1
- nightly
notifications:
email: false
Expand All @@ -14,4 +15,12 @@ notifications:
# - julia -e 'Pkg.clone(pwd()); Pkg.build("HypothesisTests"); Pkg.test("HypothesisTests"; coverage=true)'
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
- julia -e 'using Pkg; ps=Pkg.PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps); include(joinpath("docs", "make.jl"))'
jobs:
include:
- stage: "Documentation"
julia: 1.0
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip
18 changes: 18 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name = "HypothesisTests"
uuid = "09f84164-cd44-5f33-b23f-e6b0d136a0d5"

[deps]
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Rmath = "79098fc4-a85e-5d69-aa6a-4863f24498fa"
Roots = "f2b01f46-fcfa-551c-844a-d8ac1e96c665"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

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

[targets]
test = ["Test"]
6 changes: 6 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
HypothesisTests = "09f84164-cd44-5f33-b23f-e6b0d136a0d5"

[compat]
Documenter = "~0.20"
6 changes: 1 addition & 5 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using Documenter, HypothesisTests

makedocs(
format = :html,
sitename = "HypothesisTests.jl",
modules = [HypothesisTests],
sitename = "HypothesisTests.jl",
pages = [
"index.md",
"methods.md",
Expand All @@ -16,7 +15,4 @@ makedocs(
deploydocs(
repo = "github.com/JuliaStats/HypothesisTests.jl.git",
target = "build",
julia = "1.0",
deps = nothing,
make = nothing
)

0 comments on commit 8f19f7a

Please sign in to comment.