Matti Pastell 2015-01-07 09:20:16 +02:00
parent 5d1f5ab4d7
commit c4dd999294
1 changed files with 16 additions and 14 deletions

View File

@ -1,21 +1,23 @@
language: cpp #language: cpp
compiler: #compiler:
- clang # - clang
language: julia
julia:
- release
- nightly
notifications: notifications:
email: false email: false
env: #before_install:
matrix: # - sudo add-apt-repository ppa:staticfloat/julia-deps -y
# - JULIAVERSION="juliareleases" # - sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y
- JULIAVERSION="julianightlies" # - sudo apt-get update -qq -y
before_install: # - sudo apt-get install libpcre3-dev julia python-matplotlib -y
- 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 python-matplotlib -y
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script: script:
- julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.resolve(); Pkg.add("Winston")' - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
#- julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.resolve(); Pkg.add("Winston")'
#- xvfb-run julia --code-coverage=all -e 'cd(Pkg.dir("Weave", "test")); include("winston_formats.jl")' #- xvfb-run julia --code-coverage=all -e 'cd(Pkg.dir("Weave", "test")); include("winston_formats.jl")'
- julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("Weave")'
- xvfb-run julia -e 'Pkg.test("Weave", coverage=true)' - xvfb-run julia -e 'Pkg.test("Weave", coverage=true)'
after_success: after_success:
- julia -e 'cd(Pkg.dir("Weave")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' - julia -e 'cd(Pkg.dir("Weave")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'