From e95f40fb9afea8ada0bbb9b4d2cc811e523a0a9f Mon Sep 17 00:00:00 2001 From: Kevin Squire Date: Thu, 22 Dec 2016 13:21:52 -0800 Subject: [PATCH] Update .travis.yml to current default * Adds coverage --- .travis.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 122f0ab..fa948cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,19 @@ +# Documentation: http://docs.travis-ci.com/user/languages/julia/ language: julia os: - - osx - linux + - osx julia: + - release - nightly - - 0.5 notifications: email: false +# uncomment the following lines to override the default test script +#script: +# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi +# - julia -e 'Pkg.clone(pwd()); Pkg.build("MsgPack"); Pkg.test("MsgPack"; coverage=true)' +after_success: + # push coverage results to Coveralls + - julia -e 'cd(Pkg.dir("MsgPack")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' + # push coverage results to Codecov + - julia -e 'cd(Pkg.dir("MsgPack")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'