From a2fd8d3232826a3ceb22cd546be57b654ccfe30c Mon Sep 17 00:00:00 2001 From: Tero Frondelius Date: Wed, 20 May 2015 22:39:03 +0300 Subject: [PATCH] Update .travis.yml --- .travis.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 70046b7..c057f4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,12 @@ julia: - nightly notifications: email: false +#script: +# - julia -e 'Pkg.clone(pwd())' +# - julia -e 'Pkg.build("$name")' +# - if [ -f test/runtests.jl ]; then julia --check-bounds=yes --code-coverage test/runtests.jl; fi script: - - julia -e 'Pkg.clone(pwd())' - - julia -e 'Pkg.build("$name")' - - if [ -f test/runtests.jl ]; then julia --check-bounds=yes --code-coverage test/runtests.jl; fi + - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi + - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("JuliaFEM"); Pkg.test("JuliaFEM"; coverage=true)' after_success: - - julia -e 'cd(Pkg.dir("JuliaFem")); Pkg.add("Coverage"); using Coverage; >Coveralls.submit(Coveralls.process_folder())' + - julia -e 'cd(Pkg.dir("JuliaFEM")); Pkg.add("Coverage"); using Coverage; >Coveralls.submit(Coveralls.process_folder())'