Skip to content

Commit 932708d

Browse files
authored
Merge pull request #177 from mileslucas/project
Move to Pkg 1.0 compliant Project.toml
2 parents 2c32bd8 + d06e6ae commit 932708d

File tree

8 files changed

+52
-19
lines changed

8 files changed

+52
-19
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ docs/site/
33
*.jl.cov
44
*.jl.*.cov
55
*.jl.mem
6+
7+
Manifest.toml

.travis.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,32 @@ language: julia
22
os:
33
- linux
44
- osx
5+
- windows
6+
57
julia:
68
- 0.7
9+
- 1.0
10+
- 1.1
11+
- 1.2
12+
- 1.3
713
- nightly
14+
815
matrix:
916
fast_finish: true
1017
allow_failures:
1118
- julia: nightly
19+
1220
notifications:
1321
email: false
14-
#script: # the default script is equivalent to the following
15-
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
16-
# - julia -e 'Pkg.clone(pwd()); Pkg.build("Polynomials"); Pkg.test("Polynomials"; coverage=true)';
17-
after_success:
18-
- julia -e 'cd(Pkg.dir("Polynomials")); Pkg.add("Documenter"); using Documenter; include(joinpath("docs", "make.jl"))';
19-
- julia -e 'cd(Pkg.dir("Polynomials")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
22+
23+
coveralls: true
24+
25+
jobs:
26+
include:
27+
- stage: "Documentation"
28+
julia: 1.2
29+
os: linux
30+
script:
31+
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
32+
- julia --project=docs/ docs/make.jl
33+
after_success: skip

Project.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name = "Polynomials"
2+
uuid = "f27b6e38-b328-58d1-80ce-0feddd5e7a45"
3+
license = "MIT"
4+
author = "JuliaMath"
5+
version = "0.5.2"
6+
7+
[deps]
8+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
9+
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
10+
11+
[compat]
12+
julia = "≥ 0.7.0"
13+
14+
[extras]
15+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
16+
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
17+
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
18+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
19+
20+
[targets]
21+
test = ["LinearAlgebra", "SparseArrays", "SpecialFunctions", "Test"]

REQUIRE

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/Project.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
4+
[compat]
5+
Documenter = "0.23"

docs/make.jl

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
11
using Polynomials, Documenter
22

3-
makedocs(
4-
modules = [Polynomials],
3+
makedocs(modules = [Polynomials],
54
clean = false,
6-
format = :html,
5+
format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"),
76
sitename = "Polynomials.jl",
87
authors = "Jameson Nash, Keno Fischer, and other contributors",
98
pages = [
109
"Manual" => "index.md",
1110
],
1211
)
1312

14-
deploydocs(
15-
julia = "nightly",
16-
repo = "github.com/JuliaMath/Polynomials.jl.git",
17-
target = "build",
18-
deps = nothing,
19-
make = nothing,
20-
)
13+
deploydocs("github.com/JuliaMath/Polynomials.jl.git")

docs/src/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The package can then be loaded into the current session using
1414
```julia
1515
using Polynomials
1616
```
17+
1718
```@meta
1819
DocTestSetup = :( using Polynomials )
1920
```

test/REQUIRE

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)