Skip to content

Commit 8b78320

Browse files
committed
Update CI configurations
1 parent b7531f0 commit 8b78320

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed

.appveyor.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
environment:
22
matrix:
3-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7-latest-win64.exe"
4-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/1.0/julia-1.0-latest-win64.exe"
3+
- julia_version: 0.7
4+
- julia_version: 1
5+
6+
platform:
7+
- x64
58

69
matrix:
710
fast_finish: true
@@ -13,19 +16,12 @@ notifications:
1316
on_build_status_changed: false
1417

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

2421
build_script:
25-
# Need to convert from shallow to complete for Pkg.clone to work
26-
- IF EXIST .git\shallow (git fetch --unshallow)
27-
- C:\projects\julia\bin\julia -e "versioninfo();
28-
using Pkg; Pkg.clone(pwd(), \"MultipleTesting\"); Pkg.build(\"MultipleTesting\")"
22+
- echo "%JL_BUILD_SCRIPT%"
23+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
2924

3025
test_script:
31-
- C:\projects\julia\bin\julia --check-bounds=yes -e "using Pkg; Pkg.test(\"MultipleTesting\")"
26+
- echo "%JL_TEST_SCRIPT%"
27+
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"

.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ notifications:
1616
on_success: never
1717
on_failure: change
1818

19-
script:
20-
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
21-
- julia --check-bounds=yes -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("MultipleTesting"); Pkg.test("MultipleTesting"; coverage=true)'
22-
2319
after_success:
24-
- julia -e 'using Pkg; cd(Pkg.dir("MultipleTesting")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder(), flags="julia_$(VERSION.major)_$(VERSION.minor)")'
25-
- julia -e 'using Pkg; cd(Pkg.dir("MultipleTesting")); Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))'
20+
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder(), flags="julia_$(VERSION.major)_$(VERSION.minor)")'
21+
- julia -e 'using Pkg; Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))'

0 commit comments

Comments
 (0)