Skip to content

Commit bb4a697

Browse files
authored
Merge pull request #28 from JuliaArrays/teh/project
Switch to Project.toml
2 parents fd166e1 + 3668dce commit bb4a697

File tree

5 files changed

+43
-18
lines changed

5 files changed

+43
-18
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ os:
44
- linux
55
- osx
66
julia:
7+
- 0.7
8+
- 1.0
9+
- 1.2
710
- nightly
811
notifications:
912
email: false

Project.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name = "MappedArrays"
2+
uuid = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900"
3+
version = "0.2.2"
4+
5+
[compat]
6+
FixedPointNumbers = "≥ 0.3.0"
7+
julia = "0.7, 1"
8+
9+
[extras]
10+
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
11+
FixedPointNumbers = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
12+
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
13+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
14+
15+
[targets]
16+
test = ["OffsetArrays", "ColorTypes", "Test", "FixedPointNumbers"]

REQUIRE

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

appveyor.yml

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
environment:
22
matrix:
3-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
4-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
3+
- julia_version: 0.7
4+
- julia_version: 1
5+
- julia_version: nightly
6+
7+
platform:
8+
- x86 # 32-bit
9+
- x64 # 64-bit
10+
11+
# # Uncomment the following lines to allow failures on nightly julia
12+
# # (tests will run but not make your overall status red)
13+
# matrix:
14+
# allow_failures:
15+
# - julia_version: nightly
516

617
branches:
718
only:
@@ -15,19 +26,18 @@ notifications:
1526
on_build_status_changed: false
1627

1728
install:
18-
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
19-
# Download most recent Julia Windows binary
20-
- ps: (new-object net.webclient).DownloadFile(
21-
$env:JULIA_URL,
22-
"C:\projects\julia-binary.exe")
23-
# Run installer silently, output to C:\projects\julia
24-
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
29+
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
2530

2631
build_script:
27-
# Need to convert from shallow to complete for Pkg.clone to work
28-
- IF EXIST .git\shallow (git fetch --unshallow)
29-
- C:\projects\julia\bin\julia -e "versioninfo();
30-
Pkg.clone(pwd(), \"MappedArrays\"); Pkg.build(\"MappedArrays\")"
32+
- echo "%JL_BUILD_SCRIPT%"
33+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
3134

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

test/REQUIRE

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

0 commit comments

Comments
 (0)