-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
40 lines (35 loc) · 1.43 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
- windows
julia:
- 1.5
- nightly
notifications:
email: false
git:
depth: 99999999
before_script: # install dependent unregistered packages
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'using Pkg; Pkg.add([PackageSpec(url="https://github.com/OpenMendel/SnpArrays.jl.git"), PackageSpec(url="https://github.com/OpenMendel/MendelSearch.jl.git"), PackageSpec(url="https://github.com/OpenMendel/MendelBase.jl.git")]);'
after_script:
- julia -e 'using Pkg, MendelKinship; cd(joinpath(dirname(pathof(MendelKinship)), "..")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder()); Coveralls.submit(process_folder())'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("MendelKinship")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("MendelKinship")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
jobs:
fast_finish: true
allow_failures:
- julia: nightly
include:
- stage: "Documentation"
julia: 1.5
os: osx
script:
- julia -e 'using Pkg; Pkg.add("Documenter")'
- julia -e 'using MendelKinship; include(joinpath(dirname(pathof(MendelKinship)), "..", "docs", "make.jl"))'
after_success: skip