language: julia
os:
    - linux
    - osx
julia:
    - release
    - 0.4
notifications:
    email: false
sudo: false
install: pip install --user -r holidays
script:
    - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
    - julia --check-bounds=yes --color=yes -e 'Pkg.clone(pwd()); Pkg.build("Holidays"); Pkg.test("Holidays"; coverage=true)'
after_success:
    - julia -e 'cd(Pkg.dir("Holidays")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'

language: julia
os:
    - linux
    - osx
julia:
    - release
    - 0.4
notifications:
    email: false
sudo: false
install: pip install --user -r holidays six
script:
    - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
    - julia --check-bounds=yes --color=yes -e 'Pkg.clone(pwd()); Pkg.build("Holidays"); Pkg.test("Holidays"; coverage=true)'
after_success:
    - julia -e 'cd(Pkg.dir("Holidays")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'

Build needs to install six in os x apparently
Build needs to install six in os x apparently
