forked from JuliaML/LIBLINEAR.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (25 loc) · 908 Bytes
/
.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
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- 1.3
- 1.4
- nightly
notifications:
email: false
before_script:
- export PATH=$HOME/.local/bin:$PATH
git:
depth: 99999999
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- pwd
- ls
- julia --project --check-bounds=yes -e 'using UUIDs; write("Project.toml", replace(read("Project.toml", String), r"uuid = .*?\n" =>"uuid = \"$(uuid4())\"\n"));import Pkg; Pkg.build(); Pkg.test(; coverage=true)'
after_success:
# push coverage results to Coveralls
- julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'