Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
Refresh travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Aug 26, 2014
1 parent 9581c4a commit 74fc55d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
@@ -1,20 +1,21 @@
language: cpp
compiler:
compiler:
- clang
notifications:
email: false
env:
matrix:
- JULIAVERSION="julianightlies"
- 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
- git config --global user.name "Travis User"
- git config --global user.email "travis@example.net"
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
- julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.test("Dates")'
- julia -e 'using Dates; @assert isdefined(:Dates); @assert typeof(Dates) === Module'
- if [ $JULIAVERSION = "julianightlies" ]; then julia --code-coverage test/runtests.jl; fi
- julia -e 'Pkg.init(); Pkg.clone(pwd())'
- julia -e 'Pkg.test("Dates", coverage=true)'
after_success:
- if [ $JULIAVERSION = "julianightlies" ]; then julia -e 'cd(Pkg.dir("Dates")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; fi
- julia -e 'cd(Pkg.dir("Dates")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

0 comments on commit 74fc55d

Please sign in to comment.