Skip to content

Commit

Permalink
Update travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobaldassi committed Sep 29, 2015
1 parent df09164 commit e9e6561
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
language: cpp
compiler:
- clang
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- nightly
- 0.4
- 0.3
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/${JULIAVERSION} -y
- sudo apt-get update -qq -y
- sudo apt-get install libpcre3-dev julia -y
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
- julia -e 'Pkg.init(); run(`ln -s $(pwd()) $(Pkg.dir("FastaIO"))`); Pkg.pin("FastaIO"); Pkg.resolve()'
- julia -e 'using FastaIO; @assert isdefined(:FastaIO); @assert typeof(FastaIO) === Module'
- if [ $JULIAVERSION = "julianightlies" ]; then julia --code-coverage test/runtests.jl; fi
- if [ $JULIAVERSION = "juliareleases" ]; then julia test/runtests.jl; fi
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("FastaIO"); Pkg.test("FastaIO"; coverage=true)'
after_success:
- if [ $JULIAVERSION = "julianightlies" ]; then julia -e 'cd(Pkg.dir("FastaIO")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; fi
- julia -e 'cd(Pkg.dir("FastaIO")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())'

0 comments on commit e9e6561

Please sign in to comment.