Skip to content

Commit 22120b0

Browse files
Merge pull request #1 from JuliaDiffEq/new_appveyour_configuration
changed configuration for appveyor
2 parents 5b58f71 + f131d44 commit 22120b0

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

appveyor.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
environment:
22
matrix:
3-
- JULIAVERSION: "julialang/bin/winnt/x86/0.7/julia-0.7-latest-win32.exe"
4-
- JULIAVERSION: "julialang/bin/winnt/x64/0.7/julia-0.7-latest-win64.exe"
5-
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
6-
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
3+
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.7/julia-0.7.0-beta2-win32.exe"
4+
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7.0-beta2-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"
77

88
matrix:
99
allow_failures:
10-
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
11-
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
10+
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
11+
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
1212

1313
branches:
1414
only:
@@ -30,7 +30,7 @@ install:
3030
throw "There are newer queued builds for this pull request, failing early." }
3131
# Download most recent Julia Windows binary
3232
- ps: (new-object net.webclient).DownloadFile(
33-
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
33+
$env:JULIA_URL,
3434
"C:\projects\julia-binary.exe")
3535
# Run installer silently, output to C:\projects\julia
3636
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
@@ -42,4 +42,4 @@ build_script:
4242
Pkg.clone(pwd(), \"NbodySimulator\"); Pkg.build(\"NbodySimulator\")"
4343

4444
test_script:
45-
- C:\projects\julia\bin\julia -e "Pkg.test(\"NbodySimulator\")"
45+
- C:\projects\julia\bin\julia -e "Pkg.test(\"NbodySimulator\")"

test/runtests.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using NbodySimulator, Test
22

3-
# write your own tests here
4-
@test sqrt(125) == 6
3+
@testset "Initial test" begin
4+
@test sqrt(36) == 6
5+
end

0 commit comments

Comments
 (0)