Allow failure on nightly, fix tests
This commit is contained in:
parent
7329fbcf90
commit
34658bcb31
@ -5,10 +5,11 @@ environment:
|
||||
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
|
||||
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- /release-.*/
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
|
||||
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
|
||||
|
||||
notifications:
|
||||
- provider: Email
|
||||
|
@ -5,6 +5,10 @@ os:
|
||||
julia:
|
||||
- 0.6
|
||||
- nightly
|
||||
matrix:
|
||||
allow_failures:
|
||||
- julia: nightly
|
||||
fast_finish: true
|
||||
notifications:
|
||||
email: false
|
||||
script:
|
||||
|
@ -382,10 +382,11 @@ end
|
||||
rm(Pkg.dir(test_pkg); recursive=true)
|
||||
|
||||
# Note: These tests will leave temporary directories on disk.
|
||||
temp_file = mktemp()[1]
|
||||
temp_file, fd = mktemp()
|
||||
close(fd)
|
||||
t = Template(; user=me, dir=temp_file, gitconfig=gitconfig)
|
||||
@test_warn r".+" generate(test_pkg, t)
|
||||
t = Template(; user=me, dir=joinpath(temp_file, temp_file), gitconfig=gitconfig)
|
||||
t = Template(; user=me, dir=joinpath(temp_file, "file"), gitconfig=gitconfig)
|
||||
@test_warn r".+" generate(test_pkg, t)
|
||||
rm(temp_file)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user