-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy path.travis.yml
18 lines (18 loc) · 850 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: cpp
compiler:
- clang
env:
matrix:
- JULIAVERSION="juliareleases"
- JULIAVERSION="julianightlies"
before_install:
- sudo add-apt-repository ppa:staticfloat/julia-deps -y
- sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y
- sudo apt-get update -qq -y
- sudo apt-get install libpcre3-dev julia -y
script:
- julia -e 'Pkg.init(); run(`ln -s $(pwd()) $(Pkg.dir("MachineLearning"))`); Pkg.pin("MachineLearning"); Pkg.clone("https://github.com/dcjones/Showoff.jl"); Pkg.checkout("Gadfly"); Pkg.resolve()'
- julia -e 'using MachineLearning; @assert isdefined(:MachineLearning); @assert typeof(MachineLearning) === Module'
- julia --code-coverage ./test/runtests.jl
after_success:
- julia -e 'cd(Pkg.dir("MachineLearning")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'