Skip to content

Commit f35eceb

Browse files
authored
Move to Project.toml (#36)
1 parent 297d4a9 commit f35eceb

File tree

7 files changed

+34
-13
lines changed

7 files changed

+34
-13
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*.jl.cov
2+
*.jl.*.cov
3+
*.jl.mem
4+
docs/build
5+
docs/site
6+
Manifest.toml

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ os:
55
julia:
66
- 0.7
77
- 1.0
8+
- 1.1
9+
- 1.2
810
- nightly
911
notifications:
1012
email: false
1113
#script:
1214
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
1315
# - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("GLMNet"); Pkg.test("GLMNet"; coverage=true)'
1416
after_success:
15-
- julia -e 'cd(Pkg.dir("GLMNet")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
17+
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

Project.toml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name = "GLMNet"
2+
uuid = "8d5ece8b-de18-5317-b113-243142960cc6"
3+
version = "0.4.2"
4+
5+
[compat]
6+
julia = "0.7, 1.0"
7+
8+
[deps]
9+
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
10+
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
11+
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
12+
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
13+
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
14+
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
15+
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
16+
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
17+
18+
[extras]
19+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
20+
21+
[targets]
22+
test = ["Test"]

REQUIRE

-4
This file was deleted.

deps/build.jl

+1-5
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,7 @@ if dl_info === nothing && unsatisfied
7474
run(`gfortran $flags glmnet5.f90 -o libglmnet.$(Libdl.dlext)`)
7575

7676
write(joinpath(@__DIR__, "deps.jl"), """
77-
if isdefined((@static VERSION < v"0.7.0-DEV.484" ? current_module() : @__MODULE__), :Compat)
78-
import Compat.Libdl
79-
elseif VERSION >= v"0.7.0-DEV.3382"
80-
import Libdl
81-
end
77+
import Libdl
8278
8379
function check_deps()
8480
global libglmnet

test/REQUIRE

-1
This file was deleted.

test/runtests.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using GLMNet, Distributions, Compat
2-
using Compat.SparseArrays, Compat.Test
1+
using GLMNet, Distributions
2+
using SparseArrays, Test
33

44
X = [74 1 93 93 79 18
55
98 36 2 27 65 70

0 commit comments

Comments
 (0)