-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run Travis tests on releases and nightlies and enable Coveralls
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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())' |