Files
JuliaFEM.jl/.travis.yml
T
Jukka Aho 436bf119b2 Set up documentation + lint (#121)
- remove some automatically generated stuff not should even be in
repository
- set up lint + Documents.jl in same way it is defined in freshly started projects
- add lint + doctest to after_success so that build pass, these needs to be fixed later
- build is failing on nightly (0.7) but it's ok for release (0.5.2)
- Documenter.jl supports doctests, so this closes least #23
- build system is now on Travis-CI completely, so this closes also #68
2017-07-19 07:34:38 +03:00

29 lines
1.0 KiB
YAML

language: julia
os:
- linux
julia:
- release
- nightly
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/806e21f217bd85b785ad
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
before_script:
- julia --color=yes -e 'Pkg.clone(pwd())'
- julia --color=yes -e 'Pkg.add("Coverage")'
- julia --color=yes -e 'Pkg.add("Documenter")'
- julia --color=yes -e 'Pkg.add("Lint")'
script:
- julia --color=yes -e 'Pkg.build("JuliaFEM")'
- julia --color=yes -e 'Pkg.test("JuliaFEM", coverage=true)'
after_success:
- julia --color=yes -e 'cd(Pkg.dir("JuliaFEM", "test")); include("run_lint.jl")'
- julia --color=yes -e 'cd(Pkg.dir("JuliaFEM", "docs")); include("make.jl")'
- julia --color=yes -e 'cd(Pkg.dir("JuliaFEM")); using Coverage; Coveralls.submit(Coveralls.process_folder())'
- julia --color=yes -e 'cd(Pkg.dir("JuliaFEM", "docs")); include("deploy.jl")'