Fix AppVeyor config
This commit is contained in:
parent
f8584a640e
commit
86d2d5c0fb
@ -28,10 +28,10 @@ install:
|
|||||||
build_script:
|
build_script:
|
||||||
# Need to convert from shallow to complete for Pkg.clone to work
|
# Need to convert from shallow to complete for Pkg.clone to work
|
||||||
- IF EXIST .git\shallow (git fetch --unshallow)
|
- IF EXIST .git\shallow (git fetch --unshallow)
|
||||||
- C:\projects\julia\bin\julia -e "versioninfo(); Pkg.clone(pwd())"
|
- C:\projects\julia\bin\julia -e "versioninfo(); Pkg.clone(pwd(), \"PkgTemplates\")"
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- C:\projects\julia\bin\julia -e "Pkg.test(\"PkgTemplates\"; coverage=true)"
|
- C:\projects\julia\bin\julia -e "Pkg.test(\"PkgTemplates\"; coverage=true)"
|
||||||
|
|
||||||
after_script:
|
after_test:
|
||||||
- C:\projects\julia\bin\julia -e "cd(Pkg.dir(\"AppVeyorTesting\")); Pkg.add(\"Coverage\"); using Coverage; Codecov.submit(process_folder())"
|
- C:\projects\julia\bin\julia -e "cd(Pkg.dir(\"AppVeyorTesting\")); Pkg.add(\"Coverage\"); using Coverage; Codecov.submit(process_folder())"
|
||||||
|
@ -33,6 +33,6 @@ build_script:
|
|||||||
test_script:
|
test_script:
|
||||||
- C:\projects\julia\bin\julia -e "Pkg.test(\"{{PKGNAME}}\"{{#AFTER}}; coverage=true{{/AFTER}})"{{#AFTER}}
|
- C:\projects\julia\bin\julia -e "Pkg.test(\"{{PKGNAME}}\"{{#AFTER}}; coverage=true{{/AFTER}})"{{#AFTER}}
|
||||||
|
|
||||||
after_script:{{#CODECOV}}
|
after_test:{{#CODECOV}}
|
||||||
- C:\projects\julia\bin\julia -e "cd(Pkg.dir(\"{{PKGNAME}}\")); Pkg.add(\"Coverage\"); using Coverage; Codecov.submit(process_folder())"{{/CODECOV}}{{#COVERALLS}}
|
- C:\projects\julia\bin\julia -e "cd(Pkg.dir(\"{{PKGNAME}}\")); Pkg.add(\"Coverage\"); using Coverage; Codecov.submit(process_folder())"{{/CODECOV}}{{#COVERALLS}}
|
||||||
- C:\projects\julia\bin\julia -e "cd(Pkg.dir(\"{{PKGNAME}}\")); Pkg.add(\"Coverage\"); using Coverage; Coveralls.submit(process_folder())"{{/COVERALLS}}{{/AFTER}}
|
- C:\projects\julia\bin\julia -e "cd(Pkg.dir(\"{{PKGNAME}}\")); Pkg.add(\"Coverage\"); using Coverage; Coveralls.submit(process_folder())"{{/COVERALLS}}{{/AFTER}}
|
||||||
|
@ -505,7 +505,7 @@ end
|
|||||||
@test isfile(joinpath(pkg_dir, ".appveyor.yml"))
|
@test isfile(joinpath(pkg_dir, ".appveyor.yml"))
|
||||||
appveyor = readstring(joinpath(pkg_dir, ".appveyor.yml"))
|
appveyor = readstring(joinpath(pkg_dir, ".appveyor.yml"))
|
||||||
@test !contains(appveyor, "coverage=true")
|
@test !contains(appveyor, "coverage=true")
|
||||||
@test !contains(appveyor, "after_script")
|
@test !contains(appveyor, "after_test")
|
||||||
@test !contains(appveyor, "Codecov.submit")
|
@test !contains(appveyor, "Codecov.submit")
|
||||||
@test !contains(appveyor, "Coveralls.submit")
|
@test !contains(appveyor, "Coveralls.submit")
|
||||||
rm(joinpath(pkg_dir, ".appveyor.yml"))
|
rm(joinpath(pkg_dir, ".appveyor.yml"))
|
||||||
@ -514,7 +514,7 @@ end
|
|||||||
delete!(t.plugins, CodeCov)
|
delete!(t.plugins, CodeCov)
|
||||||
appveyor = readstring(joinpath(pkg_dir, ".appveyor.yml"))
|
appveyor = readstring(joinpath(pkg_dir, ".appveyor.yml"))
|
||||||
@test contains(appveyor, "coverage=true")
|
@test contains(appveyor, "coverage=true")
|
||||||
@test contains(appveyor, "after_script")
|
@test contains(appveyor, "after_test")
|
||||||
@test contains(appveyor, "Codecov.submit")
|
@test contains(appveyor, "Codecov.submit")
|
||||||
@test !contains(appveyor, "Coveralls.submit")
|
@test !contains(appveyor, "Coveralls.submit")
|
||||||
rm(joinpath(pkg_dir, ".appveyor.yml"))
|
rm(joinpath(pkg_dir, ".appveyor.yml"))
|
||||||
@ -523,7 +523,7 @@ end
|
|||||||
delete!(t.plugins, Coveralls)
|
delete!(t.plugins, Coveralls)
|
||||||
appveyor = readstring(joinpath(pkg_dir, ".appveyor.yml"))
|
appveyor = readstring(joinpath(pkg_dir, ".appveyor.yml"))
|
||||||
@test contains(appveyor, "coverage=true")
|
@test contains(appveyor, "coverage=true")
|
||||||
@test contains(appveyor, "after_script")
|
@test contains(appveyor, "after_test")
|
||||||
@test contains(appveyor, "Coveralls.submit")
|
@test contains(appveyor, "Coveralls.submit")
|
||||||
@test !contains(appveyor, "Codecov.submit")
|
@test !contains(appveyor, "Codecov.submit")
|
||||||
rm(joinpath(pkg_dir, ".appveyor.yml"))
|
rm(joinpath(pkg_dir, ".appveyor.yml"))
|
||||||
|
Loading…
Reference in New Issue
Block a user