language: julia

os:
  - linux
  - osx
  - windows

julia:
  - 1.2
  - 1.3
  - nightly

addons:
    apt:
        packages:
            - hdf5-tools

matrix:
   allow_failures:
       - julia: nightly

jobs:
    include:
        - stage: "Documentation"
          os: linux
          script:
            - julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
            - julia --project=docs/ docs/make.jl
          after_success: skip

after_success:
    - julia -e 'cd(Pkg.dir("JuliaFEM")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

language: julia

os:
  - linux
  - osx
  - windows

julia:
  - 1.0
  - 1.4

addons:
    apt:
        packages:
            - hdf5-tools

matrix:
   allow_failures:
       - julia: nightly

jobs:
    include:
        - stage: "Documentation"
          os: linux
          script:
            - julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
            - julia --project=docs/ docs/make.jl
          after_success: skip

after_success:
    - julia -e 'cd(Pkg.dir("JuliaFEM")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

Test with Julia versions v1.0 and v1.4
Test with Julia versions v1.0 and v1.4
