Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia 0.7 #370

Merged
merged 50 commits into from
Sep 23, 2018
Merged

Julia 0.7 #370

merged 50 commits into from
Sep 23, 2018

Conversation

iblislin
Copy link
Collaborator

@iblislin iblislin commented Jul 23, 2018

TODO:

@codecov-io
Copy link

codecov-io commented Jul 23, 2018

Codecov Report

Merging #370 into master will increase coverage by 12.27%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #370       +/-   ##
===========================================
+ Coverage   86.86%   99.13%   +12.27%     
===========================================
  Files          10        9        -1     
  Lines         510      346      -164     
===========================================
- Hits          443      343      -100     
+ Misses         67        3       -64
Impacted Files Coverage Δ
src/utilities.jl 100% <100%> (ø) ⬆️
src/combine.jl 98.43% <100%> (-0.3%) ⬇️
src/apply.jl 100% <100%> (+9.09%) ⬆️
src/split.jl 100% <100%> (ø) ⬆️
src/readwrite.jl 100% <100%> (ø) ⬆️
src/broadcast.jl 100% <100%> (+7.69%) ⬆️
src/timearray.jl 98.23% <100%> (-0.26%) ⬇️
src/basemisc.jl 100% <100%> (+37.5%) ⬆️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 157dc5d...cf5032a. Read the comment docs.

@iblislin iblislin closed this Jul 27, 2018
@iblislin iblislin reopened this Jul 27, 2018
@iblislin iblislin mentioned this pull request Jul 28, 2018
@femtotrader femtotrader mentioned this pull request Jul 29, 2018
.travis.yml Outdated
env:
- PYTHON=""
notifications:
email: false
sudo: false
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("TimeSeries"); Pkg.test("TimeSeries", coverage=true)'
- julia -e 'Pkg.clone(pwd()); Pkg.build("TimeSeries")'
- julia -e 'Pkg.test("TimeSeries", coverage=true)'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For compatibility with 0.7/1.0, you should just remove or comment out the script block entirely. That allows Travis to use its default script for Julia, which is set up to work with all existing versions.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, okay.

@femtotrader
Copy link
Contributor

I think

"deprecated",

should be removed according

https://travis-ci.org/JuliaStats/TimeSeries.jl/builds/426145131#L673

include("split.jl")
include("apply.jl")
include("broadcast.jl")
include("combine.jl")
include("readwrite.jl")
include("utilities.jl")
include("modify.jl")
include("basemisc.jl")
include("deprecated.jl")
Copy link
Contributor

@femtotrader femtotrader Sep 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to keep src/deprecated.jl for future use, but I do not want to test the deprecation binding in the future, since it mess up the testing output. I just removed the test/deprecated.jl

@iblislin iblislin changed the title [WIP] julia 0.7 Julia 0.7 Sep 9, 2018
@iblislin
Copy link
Collaborator Author

iblislin commented Sep 9, 2018

This PR is ready for review.
Let's support 0.7/1.0 first.
And I write down some TODOs in #373

@femtotrader
Copy link
Contributor

LGTM... tests are passing both with Julia 0.7 and 1.0
Thanks @iblis17 for this huge work!
The situation is better than it was... if there is some improvements to do
I think it can be done in an other PR
I can't personally merge this PR
I think @ararslan can


abstract type AbstractTimeSeries end
abstract type AbstractTimeSeries{T,N,D} end
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A notable change: I make this abstract type being parametric, to help some iteration stuffs like eltype.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants