-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df09164
commit e9e6561
Showing
1 changed file
with
12 additions
and
18 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 |
---|---|---|
@@ -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())' |