From d0d25b4150521a498cc3e91c74632a5d00d0cda3 Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Mon, 11 Jul 2016 19:56:53 -0700 Subject: [PATCH] Modernize Travis configuration This allows testing against both osx and linux, and the nightlies are more up to date than the PPA --- .travis.yml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8a39511..3c2fe2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,11 @@ -language: cpp -compiler: - - clang +language: julia +os: + - osx + - linux +julia: + - 0.4 + - nightly notifications: - email: false -before_install: - - sudo add-apt-repository ppa:staticfloat/julia-deps -y - - sudo add-apt-repository ppa:staticfloat/juliareleases -y - - sudo apt-get update -qq -y - - sudo apt-get install libpcre3-dev julia -y -script: - - julia -e 'Pkg.init(); run(`ln -s $(pwd()) $(Pkg.dir("LinearLeastSquares"))`); Pkg.pin("LinearLeastSquares"); Pkg.resolve()' - - julia -e 'using LinearLeastSquares; @assert isdefined(:LinearLeastSquares); @assert typeof(LinearLeastSquares) === Module' - - julia --code-coverage test/runtests.jl +email: false after_success: - julia -e 'cd(Pkg.dir("LinearLeastSquares")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'