From 88e55dab18c46ad26572aa44a27ecd3ded107c42 Mon Sep 17 00:00:00 2001 From: kalmarek Date: Mon, 18 Feb 2019 19:57:00 +0100 Subject: [PATCH] fix travis --- .travis.yml | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 69cdfee..15fc24f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,16 +4,26 @@ os: - linux - osx julia: - - release + - 1.0 - nightly 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("Property(T)"); Pkg.test("Property(T)"; coverage=true)' -after_success: + email: true +matrix: + fast_finish: true + allow_failures: + - julia: nightly + +## uncomment the following lines to override the default test +script: + - julia -e 'using Pkg; + Pkg.add(PackageSpec(url="https://github.com/kalmarek/Groups.jl", rev="enh/julia-v0.7")); + Pkg.add(PackageSpec(url="https://github.com/kalmarek/GroupRings.jl", rev="enh/julia-v0.7")); + Pkg.clone(pwd()); + Pkg.build("PropertyT"); + Pkg.test("PropertyT"; coverage=true)' + +codecov: true + +# after_success: # push coverage results to Coveralls - - julia -e 'cd(Pkg.dir("Property(T)")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' - # push coverage results to Codecov - - julia -e 'cd(Pkg.dir("Property(T)")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' + #- julia -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true);'