File tree Expand file tree Collapse file tree 6 files changed +8
-20
lines changed Expand file tree Collapse file tree 6 files changed +8
-20
lines changed Original file line number Diff line number Diff line change 3
3
- linux
4
4
- osx
5
5
julia :
6
- - 0.4
7
6
- 0.5
8
7
- nightly
9
8
notifications :
10
9
email : false
11
- script :
12
- - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
13
- - julia -e 'Pkg.clone(pwd()); Pkg.build("FileIO"); Pkg.test("FileIO"; coverage=true)'
10
+ # script: # default script is equivalent to the following
11
+ # - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
12
+ # - julia -e 'Pkg.clone(pwd()); Pkg.build("FileIO"); Pkg.test("FileIO"; coverage=true)'
14
13
after_success :
15
14
- julia -e 'cd(Pkg.dir("FileIO")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())'
Original file line number Diff line number Diff line change 1
- julia 0.4
1
+ julia 0.5
2
2
Compat 0.9.5
Original file line number Diff line number Diff line change 1
1
environment :
2
2
matrix :
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
3
- JULIAVERSION : " julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
6
4
- JULIAVERSION : " julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
7
5
- JULIAVERSION : " julianightlies/bin/winnt/x86/julia-latest-win32.exe"
@@ -13,7 +11,6 @@ branches:
13
11
- /release-.*/
14
12
install :
15
13
# Download most recent Julia Windows binary
16
-
17
14
- ps : (new-object net.webclient).DownloadFile(
18
15
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
19
16
" C:\p rojects\j ulia-binary.exe" )
@@ -23,7 +20,7 @@ install:
23
20
build_script :
24
21
# Need to convert from shallow to complete for Pkg.clone to work
25
22
# - git fetch --unshallow
26
- - C:\projects\julia\bin\julia-debug -e "versioninfo(); Pkg.init(); Pkg.clone(pwd(), \"FileIO\")"
23
+ - C:\projects\julia\bin\julia -e "versioninfo(); Pkg.init(); Pkg.clone(pwd(), \"FileIO\")"
27
24
28
25
test_script :
29
- - C:\projects\julia\bin\julia-debug -e "Pkg.test(\"FileIO\")"
26
+ - C:\projects\julia\bin\julia -e "Pkg.test(\"FileIO\")"
Original file line number Diff line number Diff line change 1
- VERSION >= v " 0.4.0-dev+6641 " && __precompile__ ()
1
+ __precompile__ ()
2
2
3
3
module FileIO
4
4
using Compat
Original file line number Diff line number Diff line change @@ -9,11 +9,7 @@ println("these tests will print warnings: ")
9
9
rserr, wrerr = redirect_stderr ()
10
10
ref = @async save (" test.not_installed" )
11
11
println (wr, " y" )
12
- if VERSION < v " 0.4.0-dev"
13
- @test_throws ErrorException wait (ref) # ("unknown package NotInstalled")
14
- else
15
- @test_throws CompositeException wait (ref) # ("unknown package NotInstalled")
16
- end
12
+ @test_throws CompositeException wait (ref) # ("unknown package NotInstalled")
17
13
ref = @async save (" test.not_installed" )
18
14
println (wr, " invalid" ) # test invalid input
19
15
println (wr, " n" ) # don't install
Original file line number Diff line number Diff line change 8
8
using Compat
9
9
import Compat. String
10
10
11
- if VERSION < v " 0.4.0-dev"
12
- import FileIO. Pair
13
- end
14
-
15
11
@testset " OS" begin
16
12
if is_linux ()
17
13
@test FileIO. applies_to_os (FileIO. Linux)
You can’t perform that action at this time.
0 commit comments