Skip to content

Commit f76afd1

Browse files
author
Jacob Quinn
committed
Update travis/appveyor/REQUIRE
1 parent cc88dbd commit f76afd1

File tree

3 files changed

+43
-24
lines changed

3 files changed

+43
-24
lines changed

.travis.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
language: julia
2+
23
os:
3-
- osx
4-
- linux
4+
- linux
5+
- osx
6+
57
julia:
6-
- release
7-
- nightly
8+
- 0.4
9+
- 0.5
10+
- nightly
11+
812
notifications:
9-
email: false
10-
script:
11-
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
12-
- julia -e 'Pkg.clone(pwd()); Pkg.build("SQLite"); Pkg.test("SQLite"; coverage=true)';
13-
- julia -e 'cd(Pkg.dir("SQLite")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
13+
email: false
14+
15+
after_success:
16+
- julia -e 'cd(Pkg.dir("SQLite")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
17+
- julia -e 'Pkg.add("Documenter")'
18+
- julia -e 'cd(Pkg.dir("SQLite")); include(joinpath("docs", "make.jl"))'

REQUIRE

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
julia 0.4.1
22
BinDeps
3-
CSV
4-
DataStreams
5-
DataFrames
6-
NullableArrays
7-
WeakRefStrings
8-
LegacyStrings
93
@osx Homebrew
104
@windows WinRPM
5+
DataStreams

appveyor.yml

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,41 @@
11
environment:
22
matrix:
3-
# Releases
4-
- JULIAVERSION: "stable/win32"
5-
- JULIAVERSION: "stable/win64"
6-
# Nightlies
7-
- JULIAVERSION: "download/win32"
8-
- JULIAVERSION: "download/win64"
3+
- JULIAVERSION: "julialang/bin/winnt/x86/0.4/julia-0.4-latest-win32.exe"
4+
- JULIAVERSION: "julialang/bin/winnt/x64/0.4/julia-0.4-latest-win64.exe"
5+
- JULIAVERSION: "julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
6+
- JULIAVERSION: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
7+
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
8+
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
9+
10+
branches:
11+
only:
12+
- master
13+
- /release-.*/
14+
15+
notifications:
16+
- provider: Email
17+
on_build_success: false
18+
on_build_failure: false
19+
on_build_status_changed: false
920

1021
install:
22+
# if there's a newer build queued for the same PR, cancel this one
23+
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
24+
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
25+
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
26+
throw "There are newer queued builds for this pull request, failing early." }
1127
# Download most recent Julia Windows binary
12-
- ps: (new-object net.webclient).DownloadFile($("http://status.julialang.org/"+$env:JULIAVERSION), "C:\projects\julia-binary.exe")
28+
- ps: (new-object net.webclient).DownloadFile(
29+
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
30+
"C:\projects\julia-binary.exe")
1331
# Run installer silently, output to C:\projects\julia
1432
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
1533

1634
build_script:
1735
# Need to convert from shallow to complete for Pkg.clone to work
1836
- IF EXIST .git\shallow (git fetch --unshallow)
19-
- C:\projects\julia\bin\julia -e "versioninfo(); Pkg.init(); Pkg.clone(pwd(), \"SQLite\"); Pkg.build(\"SQLite\")"
37+
- C:\projects\julia\bin\julia -e "versioninfo();
38+
Pkg.clone(pwd(), \"SQLite\"); Pkg.build(\"SQLite\")"
2039

2140
test_script:
22-
- C:\projects\julia\bin\julia test\runtests.jl
41+
- C:\projects\julia\bin\julia -e "Pkg.test(\"SQLite\")"

0 commit comments

Comments
 (0)