Skip to content

Commit 435a645

Browse files
committed
Require Julia v0.7
1 parent d72ed78 commit 435a645

File tree

3 files changed

+26
-28
lines changed

3 files changed

+26
-28
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ os:
44
- linux
55
- osx
66
julia:
7-
- 0.6
7+
- 0.7
8+
- 1.0
89
- nightly
910
notifications:
1011
email: false
@@ -27,9 +28,10 @@ git:
2728

2829
## uncomment the following lines to override the default test script
2930
#script:
30-
# - julia -e 'Pkg.clone(pwd()); Pkg.build("ArraysOfArrays"); Pkg.test("ArraysOfArrays"; coverage=true)'
31+
# - julia -e '...'
32+
3133
after_success:
3234
# push coverage results to Coveralls
33-
- julia -e 'cd(Pkg.dir("ArraysOfArrays")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
35+
- julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
3436
# push coverage results to Codecov
35-
- julia -e 'cd(Pkg.dir("ArraysOfArrays")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
37+
- julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
julia 0.6
1+
julia 0.7
22
Compat 0.54
33
UnsafeArrays

appveyor.yml

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
environment:
22
matrix:
3-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
4-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-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: 0.7
4+
- julia_version: 1.0
5+
- julia_version: latest
6+
7+
platform:
8+
- x86 # 32-bit
9+
- x64 # 64-bit
710

811
## uncomment the following lines to allow failures on nightly julia
912
## (tests will run but not make your overall status red)
1013
#matrix:
1114
# allow_failures:
12-
# - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
13-
# - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
15+
# - julia_version: 1.0
16+
# - julia_version: latest
17+
18+
#branches:
19+
# only:
20+
# - master
21+
# - /release-.*/
1422

1523
notifications:
1624
- provider: Email
@@ -19,24 +27,12 @@ notifications:
1927
on_build_status_changed: false
2028

2129
install:
22-
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
23-
# If there's a newer build queued for the same PR, cancel this one
24-
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
25-
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
26-
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
27-
throw "There are newer queued builds for this pull request, failing early." }
28-
# Download most recent Julia Windows binary
29-
- ps: (new-object net.webclient).DownloadFile(
30-
$env:JULIA_URL,
31-
"C:\projects\julia-binary.exe")
32-
# Run installer silently, output to C:\projects\julia
33-
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
30+
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
3431

3532
build_script:
36-
# Need to convert from shallow to complete for Pkg.clone to work
37-
- IF EXIST .git\shallow (git fetch --unshallow)
38-
- C:\projects\julia\bin\julia -e "versioninfo();
39-
Pkg.clone(pwd(), \"ArraysOfArrays\"); Pkg.build(\"ArraysOfArrays\")"
33+
- echo "%JL_BUILD_SCRIPT%"
34+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
4035

4136
test_script:
42-
- C:\projects\julia\bin\julia -e "Pkg.test(\"ArraysOfArrays\")"
37+
- echo "%JL_TEST_SCRIPT%"
38+
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"

0 commit comments

Comments
 (0)