File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626
2727# # uncomment the following lines to override the default test script
2828# script:
29- # - julia -e 'Pkg.clone(pwd()); Pkg.build("IteratorTraits "); Pkg.test("IteratorTraits "; coverage=true)'
29+ # - julia -e 'Pkg.clone(pwd()); Pkg.build("IteratorInterfaceExtensions "); Pkg.test("IteratorInterfaceExtensions "; coverage=true)'
3030after_success :
3131 # push coverage results to Codecov
32- - julia -e 'cd(Pkg.dir("IteratorTraits ")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
32+ - julia -e 'cd(Pkg.dir("IteratorInterfaceExtensions ")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
Original file line number Diff line number Diff line change 1- The IteratorTraits .jl package is licensed under the MIT "Expat" License:
1+ The IteratorInterfaceExtensions .jl package is licensed under the MIT "Expat" License:
22
33> Copyright (c) 2017: David Anthoff.
44>
Original file line number Diff line number Diff line change 1- # IteratorTraits
1+ # IteratorInterfaceExtensions
22
33[ ![ Project Status: Active - The project has reached a stable, usable state and is being actively developed.] ( http://www.repostatus.org/badges/latest/active.svg )] ( http://www.repostatus.org/#active )
4- [ ![ Build Status] ( https://travis-ci.org/davidanthoff/IteratorTraits .jl.svg?branch=master )] ( https://travis-ci.org/davidanthoff/IteratorTraits .jl )
5- [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/n4lyqi32q7n66eui/branch/master?svg=true )] ( https://ci.appveyor.com/project/davidanthoff/iteratortraits -jl/branch/master )
6- [ ![ IteratorTraits ] ( http://pkg.julialang.org/badges/IteratorTraits_0 .6.svg )] ( http://pkg.julialang.org/?pkg=IteratorTraits )
7- [ ![ codecov.io] ( http://codecov.io/github/davidanthoff/IteratorTraits .jl/coverage.svg?branch=master )] ( http://codecov.io/github/davidanthoff/IteratorTraits .jl?branch=master )
4+ [ ![ Build Status] ( https://travis-ci.org/davidanthoff/IteratorInterfaceExtensions .jl.svg?branch=master )] ( https://travis-ci.org/davidanthoff/IteratorInterfaceExtensions .jl )
5+ [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/n4lyqi32q7n66eui/branch/master?svg=true )] ( https://ci.appveyor.com/project/davidanthoff/iteratorinterfaceextensions -jl/branch/master )
6+ [ ![ IteratorInterfaceExtensions ] ( http://pkg.julialang.org/badges/IteratorInterfaceExtensions_0 .6.svg )] ( http://pkg.julialang.org/?pkg=IteratorInterfaceExtensions )
7+ [ ![ codecov.io] ( http://codecov.io/github/davidanthoff/IteratorInterfaceExtensions .jl/coverage.svg?branch=master )] ( http://codecov.io/github/davidanthoff/IteratorInterfaceExtensions .jl?branch=master )
88
9- IteratorTraits defines a small number of traits for iterators.
9+ IteratorInterfaceExtensions defines a small number of extensions to the
10+ iterator interface.
1011
1112## Overview
1213
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ build_script:
3939# Need to convert from shallow to complete for Pkg.clone to work
4040 - IF EXIST .git\shallow (git fetch --unshallow)
4141 - C:\projects\julia\bin\julia -e "versioninfo();
42- Pkg.clone(pwd(), \"IteratorTraits \"); Pkg.build(\"IteratorTraits \")"
42+ Pkg.clone(pwd(), \"IteratorInterfaceExtensions \"); Pkg.build(\"IteratorInterfaceExtensions \")"
4343
4444test_script :
45- - C:\projects\julia\bin\julia -e "Pkg.test(\"IteratorTraits \")"
45+ - C:\projects\julia\bin\julia -e "Pkg.test(\"IteratorInterfaceExtensions \")"
Original file line number Diff line number Diff line change 11__precompile__ (true )
2- module IteratorTraits
2+ module IteratorInterfaceExtensions
33
44export getiterator, isiterable, iteratorsize2
55
Original file line number Diff line number Diff line change 1- using IteratorTraits
1+ using IteratorInterfaceExtensions
22using Base. Test
33
44struct MyType
55end
66
7- @testset " IteratorTraits " begin
7+ @testset " IteratorInterfaceExtensions " begin
88
99@test isiterable (MyType ()) == false
1010@test isiterable ([1 ,2 ,3 ]) == true
You can’t perform that action at this time.
0 commit comments