From beaedd59dc14262b7233f4d388c322e06aadc12c Mon Sep 17 00:00:00 2001 From: Andreas Noack Date: Tue, 3 Dec 2019 15:02:34 +0100 Subject: [PATCH] Update .travis.yml to new Pkg syntax for submitting coverage info (#81) and start testing on Julia 1.3 --- .appveyor.yml | 2 +- .travis.yml | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index da92a6a..19c0543 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,7 +1,7 @@ environment: matrix: - julia_version: 1 - - julia_version: 1.2 + - julia_version: 1.3 - julia_version: nightly platform: diff --git a/.travis.yml b/.travis.yml index 4e88b8e..f247e31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,20 @@ language: julia + os: - linux - osx + julia: - 1.0 - - 1.2 + - 1.3 - nightly + notifications: email: false -# matrix: -# allow_failures: -# - julia: nightly -# uncomment the following lines to override the default test script -#script: -# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi -# - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("StatsFuns"); Pkg.test("StatsFuns"; coverage=true)' + +matrix: + allow_failures: + - julia: nightly + after_success: - - julia -e 'using Pkg; cd(Pkg.dir("StatsFuns")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; + - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'