-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
24 lines (24 loc) · 943 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
# Documentation: http://docs.travis-ci.com/user/languages/julia/
sudo: false
language: julia
os:
# - linux
- osx
julia:
- 0.5
- nightly
notifications:
email: false
install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX="g++-6" CC="gcc-6"; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export CXX="clang++" CC="clang"; fi
- export JULIA_CPU_CORES=2
# 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("LibOpenCV"); Pkg.test("LibOpenCV"; coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("LibOpenCV")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("LibOpenCV")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'