# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
env:
    - FORCE_BUILD=true
    - FORCE_BUILD=false
os:
  - linux
  - osx
julia:
  - 0.7
  - nightly
notifications:
  email: false
script:
    - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
    - julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("MbedTLS")'
    - julia -e 'using Pkg; Pkg.test("MbedTLS", coverage=true)'
after_success:
    - julia -e 'cd(using Pkg; Pkg.dir("MbedTLS")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'