Skip to content

Commit ea6a304

Browse files
DilumAluthgempastell
authored andcommitted
Add Project.toml file and delete REQUIRE file (#47)
1 parent a5d69c1 commit ea6a304

File tree

4 files changed

+49
-26
lines changed

4 files changed

+49
-26
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: julia
22
julia:
3-
- 0.7
3+
- "1.0"
4+
- "1.3"
45
- nightly
56
os:
67
- linux
@@ -10,6 +11,7 @@ notifications:
1011
matrix:
1112
allow_failures:
1213
- julia: nightly
14+
script: julia --code-coverage --inline=no -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'
1315
after_success:
1416
- julia -e 'cd(Pkg.dir("LIBSVM")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
1517
- julia -e 'cd(Pkg.dir("LIBSVM")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

Project.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name = "LIBSVM"
2+
uuid = "b1bec4e5-fd48-53fe-b0cb-9723c09d164b"
3+
version = "0.4.0"
4+
5+
[deps]
6+
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
7+
LIBLINEAR = "2d691ee1-e668-5016-a719-b2531b85e0f5"
8+
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
9+
ScikitLearnBase = "6e75b9c4-186b-50bd-896f-2d2496a4843e"
10+
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
11+
12+
[compat]
13+
Compat = "2, 3"
14+
LIBLINEAR = "0.5"
15+
ScikitLearnBase = "0.5"
16+
julia = "1"
17+
18+
[extras]
19+
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
20+
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
21+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
22+
23+
[targets]
24+
test = ["DelimitedFiles", "Test", "SparseArrays"]

REQUIRE

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

appveyor.yml

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
environment:
22
matrix:
3-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.7/julia-0.7-latest-win32.exe"
4-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7-latest-win64.exe"
5-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
6-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
3+
- julia_version: "1.0"
4+
- julia_version: "1.3"
5+
# - julia_version: nightly
76

8-
matrix:
9-
allow_failures:
10-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.7/julia-0.7-latest-win32.exe"
11-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
12-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
7+
platform:
8+
- x64 # 64-bit
9+
10+
# # Uncomment the following lines to allow failures on nightly julia
11+
# # (tests will run but not make your overall status red)
12+
# matrix:
13+
# allow_failures:
14+
# - julia_version: nightly
1315

1416
branches:
1517
only:
@@ -23,19 +25,18 @@ notifications:
2325
on_build_status_changed: false
2426

2527
install:
26-
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
27-
# Download most recent Julia Windows binary
28-
- ps: (new-object net.webclient).DownloadFile(
29-
$env:JULIA_URL,
30-
"C:\projects\julia-binary.exe")
31-
# Run installer silently, output to C:\projects\julia
32-
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
28+
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
3329

3430
build_script:
35-
# Need to convert from shallow to complete for Pkg.clone to work
36-
- IF EXIST .git\shallow (git fetch --unshallow)
37-
- C:\projects\julia\bin\julia -e "versioninfo();
38-
Pkg.clone(pwd(), \"LIBSVM\"); Pkg.build(\"LIBSVM\")"
31+
- echo "%JL_BUILD_SCRIPT%"
32+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
3933

4034
test_script:
41-
- C:\projects\julia\bin\julia -e "Pkg.test(\"LIBSVM\")"
35+
- echo "%JL_TEST_SCRIPT%"
36+
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
37+
38+
# Uncomment to support code coverage upload. Should only be enabled for packages
39+
# which would have coverage gaps without running on Windows
40+
on_success:
41+
- echo "%JL_CODECOV_SCRIPT%"
42+
- C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"

0 commit comments

Comments
 (0)