Skip to content

Commit 0ecd1ca

Browse files
authored
Merge pull request #54 from queryverse/julia-0.7
Julia 0.7
2 parents 6075edc + f6f6780 commit 0ecd1ca

File tree

6 files changed

+50
-54
lines changed

6 files changed

+50
-54
lines changed

.travis.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
language: julia
22
os:
3-
- osx
43
- linux
4+
- osx
55
julia:
66
- 0.7
7+
- 1.0
78
- nightly
89
notifications:
910
email: false
1011
branches:
1112
only:
1213
- master
1314
- /release-.*/
14-
before_install:
15-
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
16-
script:
17-
- julia -e 'Pkg.clone(pwd())'
18-
- julia -e 'ENV["PYTHON"]=""; Pkg.build("ExcelReaders")'
19-
- julia --check-bounds=yes -e 'Pkg.test("ExcelReaders", coverage=true)'
15+
- /v(\d+)\.(\d+)\.(\d+)/
16+
matrix:
17+
allow_failures:
18+
- julia: nightly
19+
env:
20+
- PYTHON=""
2021
after_success:
21-
- julia -e 'cd(Pkg.dir("ExcelReaders")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
22-
- julia -e 'cd(Pkg.dir("ExcelReaders")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'
22+
- julia -e 'cd(Pkg.dir("IteratorInterfaceExtensions")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# ExcelReaders.jl v0.10.1 Release Notes
2+
* Fix remaining julia 0.7/1.0 compat issues
3+
14
# ExcelReaders.jl v0.10.0 Release Notes
25
* Drop julia 0.6 support, add julia 0.7 support
36

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# ExcelReaders
22

3-
[![Build Status](https://travis-ci.org/davidanthoff/ExcelReaders.jl.svg?branch=master)](https://travis-ci.org/davidanthoff/ExcelReaders.jl)
4-
[![Build status](https://ci.appveyor.com/api/projects/status/n8039pvotidkussq/branch/master?svg=true)](https://ci.appveyor.com/project/davidanthoff/excelreaders-jl/branch/master)
5-
[![Coverage Status](https://coveralls.io/repos/davidanthoff/ExcelReaders.jl/badge.svg)](https://coveralls.io/r/davidanthoff/ExcelReaders.jl)
6-
[![codecov](https://codecov.io/gh/davidanthoff/ExcelReaders.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/davidanthoff/ExcelReaders.jl)
3+
[![Build Status](https://travis-ci.org/queryverse/ExcelReaders.jl.svg?branch=master)](https://travis-ci.org/queryverse/ExcelReaders.jl)
4+
[![Build status](https://ci.appveyor.com/api/projects/status/v7b60gfrg65qkqt5/branch/master?svg=true)](https://ci.appveyor.com/project/queryverse/excelreaders-jl/branch/master)
5+
[![Coverage Status](https://coveralls.io/repos/queryverse/ExcelReaders.jl/badge.svg)](https://coveralls.io/r/queryverse/ExcelReaders.jl)
6+
[![codecov](https://codecov.io/gh/queryverse/ExcelReaders.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/queryverse/ExcelReaders.jl)
77
[![ExcelReaders](http://pkg.julialang.org/badges/ExcelReaders_0.3.svg)](http://pkg.julialang.org/?pkg=ExcelReaders&ver=0.3)
88
[![ExcelReaders](http://pkg.julialang.org/badges/ExcelReaders_0.4.svg)](http://pkg.julialang.org/?pkg=ExcelReaders&ver=0.4)
99
[![ExcelReaders](http://pkg.julialang.org/badges/ExcelReaders_0.5.svg)](http://pkg.julialang.org/?pkg=ExcelReaders&ver=0.5)
@@ -12,12 +12,12 @@
1212
ExcelReaders is a package that provides functionality to read Excel files.
1313

1414
**WARNING**: Version v0.9.0 removed all support for [DataFrames.jl](https://github.com/JuliaData/DataFrames.jl)
15-
from this package. The [ExcelFiles.jl](https://github.com/davidanthoff/ExcelFiles.jl)
15+
from this package. The [ExcelFiles.jl](https://github.com/queryverse/ExcelFiles.jl)
1616
package now provides functionality to read data from an Excel file into
1717
a ``DataFrame`` (or any other table type), and users are encouraged to use
1818
that package for tabular data going forward. Version v0.9.0 also no longer
1919
uses [DataArrays.jl](https://github.com/JuliaStats/DataArrays.jl), but instead
20-
is based on [DataValues.jl](https://github.com/davidanthoff/DataValues.jl).
20+
is based on [DataValues.jl](https://github.com/queryverse/DataValues.jl).
2121

2222
## Installation
2323

REQUIRE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
julia 0.7-
2-
DataValues 0.4.1
3-
PyCall 1.17.1
1+
julia 0.7
2+
DataValues 0.4.4
3+
PyCall 1.18.2

appveyor.yml

Lines changed: 28 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,44 @@
1+
# PYTHONDIR: "use_conda"
2+
# PYTHON: "use_conda"
13
environment:
24
matrix:
3-
# Releases
4-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.7/julia-0.7-latest-win32.exe"
5-
PYTHONDIR: "C:\\Python36"
6-
PYTHON: "C:\\Python36\\python.exe"
5+
- julia_version: 0.7
6+
- julia_version: 1
7+
- julia_version: nightly
78

8-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7-latest-win64.exe"
9-
PYTHONDIR: "C:\\Python36-x64"
10-
PYTHON: "C:\\Python36-x64\\python.exe"
9+
platform:
10+
- x86 # 32-bit
11+
- x64 # 64-bit
1112

12-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.7/julia-0.7-latest-win32.exe"
13-
PYTHONDIR: "use_conda"
14-
PYTHON: "use_conda"
13+
matrix:
14+
allow_failures:
15+
- julia_version: latest
1516

16-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7-latest-win64.exe"
17-
PYTHONDIR: "use_conda"
18-
PYTHON: "use_conda"
17+
branches:
18+
only:
19+
- master
20+
- /release-.*/
21+
- /v(\d+)\.(\d+)\.(\d+)/
1922

2023
notifications:
2124
- provider: Email
2225
on_build_success: false
2326
on_build_failure: false
2427
on_build_status_changed: false
2528

26-
branches:
27-
only:
28-
- master
29-
- /release-.*/
30-
3129
install:
32-
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
33-
# Install and upate pip
34-
- "SET PATH=%PYTHONDIR%;%PYTHONDIR%\\Scripts;%PATH%"
35-
# Install xlrd
36-
- python -m pip install xlrd
37-
# Download most recent Julia Windows binary
38-
- ps: (new-object net.webclient).DownloadFile(
39-
$env:JULIA_URL,
40-
"C:\projects\julia-binary.exe")
41-
# Run installer silently, output to C:\projects\julia
42-
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
30+
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
31+
4332
build_script:
44-
# Need to convert from shallow to complete for Pkg.clone to work
45-
- IF EXIST .git\shallow (git fetch --unshallow)
46-
- C:\projects\julia\bin\julia -e "versioninfo(); Pkg.clone(pwd(), \"ExcelReaders\"); Pkg.build(\"ExcelReaders\")"
33+
- echo "%JL_BUILD_SCRIPT%"
34+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
4735

4836
test_script:
49-
- C:\projects\julia\bin\julia -e "Pkg.test(\"ExcelReaders\")"
37+
- echo "%JL_TEST_SCRIPT%"
38+
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
39+
40+
# # Uncomment to support code coverage upload. Should only be enabled for packages
41+
# # which would have coverage gaps without running on Windows
42+
# on_success:
43+
# - echo "%JL_CODECOV_SCRIPT%"
44+
# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"

src/ExcelReaders.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
__precompile__()
2-
31
module ExcelReaders
42

53
using PyCall, DataValues, Dates
@@ -227,7 +225,7 @@ function get_cell_value(ws, row, col, wb)
227225
end
228226
end
229227

230-
function readxl_internal(file::ExcelFile, sheetname::AbstractString, startrow::Int, startcol::Int, endrow::Int, endcol::Int)
228+
function readxl_internal(file::ExcelFile, sheetname::AbstractString, startrow::Integer, startcol::Integer, endrow::Integer, endcol::Integer)
231229
wb = file.workbook
232230
ws = wb[:sheet_by_name](sheetname)
233231

0 commit comments

Comments
 (0)