-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (27 loc) · 950 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
language: julia
os:
- linux
julia:
- 0.6
# - nightly
env:
matrix:
# - PRIMESIEVE=true
- PRIMESIEVE=false
notifications:
email:
recipients:
on_success: always
on_failure: always
before_install:
- if [ $PRIMESIEVE = "true" ]; then julia -e 'Pkg.clone("https://github.com/Samayel/PrimeSieve.jl.git"); Pkg.build("PrimeSieve")'; fi
# uncomment the following lines to override the default test script
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("Brainstorm")'
- julia --check-bounds=yes -e 'Pkg.test("Brainstorm"; coverage=true)'
after_success:
- julia -e '@linux_only Pkg.add("Coverage")'
- julia -e '@linux_only begin cd(Pkg.dir("Brainstorm")); using Coverage; Coveralls.submit(Coveralls.process_folder()) end'
- julia -e '@linux_only begin cd(Pkg.dir("Brainstorm")); using Coverage; Codecov.submit(Codecov.process_folder()) end'