Skip to content

Commit

Permalink
Merge pull request JuliaLang#93 from JuliaStats/travis
Browse files Browse the repository at this point in the history
Add juliareleases to travis, only run code coverage on nightlies
  • Loading branch information
garborg committed Oct 8, 2014
2 parents dede315 + 8d020b7 commit 22d464b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ compiler:
notifications:
email: false
env:
matrix:
# - JULIAVERSION="juliareleases"
- JULIAVERSION="julianightlies"
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("StatsBase"))`); Pkg.pin("StatsBase"); Pkg.resolve()'
- julia --code-coverage ./test/runtests.jl
- if [ $JULIAVERSION = "julianightlies" ]; then julia -e 'Pkg.test("StatsBase", coverage=true)'; fi
- if [ $JULIAVERSION = "juliareleases" ]; then julia -e 'Pkg.test("StatsBase")'; fi
after_success:
- julia -e 'cd(Pkg.dir("StatsBase")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
- if [ $JULIAVERSION = "julianightlies" ]; julia -e 'cd(Pkg.dir("StatsBase")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; fi

0 comments on commit 22d464b

Please sign in to comment.