Skip to content

Commit

Permalink
Run Travis tests on releases and nightlies and enable Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
simonster committed Sep 30, 2014
1 parent b63aad6 commit 6a2ba2c
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,21 @@ compiler:
- gcc
notifications:
email: false
env:
matrix:
- JULIAVERSION="juliareleases"
- JULIAVERSION="julianightlies"
before_install:
- sudo add-apt-repository ppa:staticfloat/julia-deps -y
- sudo add-apt-repository ppa:staticfloat/julianightlies -y
- sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y
- sudo apt-get update -qq -y
- sudo apt-get install git julia hdf5-tools -y
- sudo apt-get install libpcre3-dev julia -y
- git config --global user.name "Travis User"
- git config --global user.email "[email protected]"
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
- julia -e 'versioninfo(); Pkg.init(); Pkg.clone("HDF5"); Pkg.clone(pwd())'
- julia test/runtests.jl
- julia -e 'versioninfo(); Pkg.init(); Pkg.clone("HDF5"); Pkg.build("HDF5"); Pkg.clone(pwd())'
- if [ $JULIAVERSION = "julianightlies" ]; then julia --code-coverage test/runtests.jl; fi
- if [ $JULIAVERSION = "juliareleases" ]; then julia test/runtests.jl; fi
after_success:
- julia -e 'cd(Pkg.dir("MAT")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

0 comments on commit 6a2ba2c

Please sign in to comment.