File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 44 - linux
55 - osx
66julia :
7- - release
7+ - 0.6
88 - nightly
9+ matrix :
10+ allow_failures :
11+ - julia : nightly
912notifications :
1013 email : false
11- # uncomment the following lines to override the default test script
12- # script:
14+ # script: # the default script is equivalent to the following
1315# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
14- # - julia -e 'Pkg.clone(pwd()); Pkg.build("DBFTables"); Pkg.test("DBFTables"; coverage=true)'
16+ # - julia -e 'Pkg.clone(pwd()); Pkg.build("DBFTables"); Pkg.test("DBFTables"; coverage=true)';
1517after_success :
16- # push coverage results to Coveralls
17- - julia -e 'cd(Pkg.dir("DBFTables")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
18- # push coverage results to Codecov
19- - julia -e 'cd(Pkg.dir("DBFTables")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
18+ - julia -e 'cd(Pkg.dir("Example")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
19+ # - julia -e 'cd(Pkg.dir("Example")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())';
Original file line number Diff line number Diff line change 11using DBFTables
22using Base. Test
3+ using Missings
34
45dir = @__DIR__
56# dir = joinpath(Pkg.dir("DBFTables"), "test")
67df = DBFTables. read_dbf (joinpath (dir, " test.dbf" ))
78
8- @test size (df,1 ) == 3 # records
9+ @test size (df,1 ) == 7 # records
910@test size (df,2 ) == 6 # fields
1011@test df[:CHAR ][2 ] == " John"
1112@test df[:DATE ][1 ] == " 19900102"
@@ -18,4 +19,4 @@ df = DBFTables.read_dbf(joinpath(dir, "test.dbf"))
1819@test ismissing (df[:BOOL ][4 ])
1920@test ismissing (df[:FLOAT ][5 ])
2021@test ismissing (df[:NUMERIC ][6 ])
21- @test ismissing (df[:INTEGER ][7 ])
22+ @test ismissing (df[:INTEGER ][7 ])
You can’t perform that action at this time.
0 commit comments