From 3e33ca45e162c23979383d14d5f66ac347af1e86 Mon Sep 17 00:00:00 2001 From: Shashi Gowda Date: Thu, 30 Oct 2014 12:42:52 +0530 Subject: [PATCH] Modernize tests, fixup travis --- .travis.yml | 14 ++++++++------ test/{test_factcheck.jl => runtests.jl} | 0 2 files changed, 8 insertions(+), 6 deletions(-) rename test/{test_factcheck.jl => runtests.jl} (100%) diff --git a/.travis.yml b/.travis.yml index e390756..61f60af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,14 +2,16 @@ language: cpp compiler: - clang notifications: - email: - - zach.allaun+travis@gmail.com + email: false +env: + matrix: + - JULIAVERSION="juliareleases" + - JULIAVERSION="julianightlies" before_install: - sudo add-apt-repository ppa:staticfloat/julia-deps -y - - sudo add-apt-repository ppa:staticfloat/julianightlies -y + - sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y - sudo apt-get update -qq -y - sudo apt-get install libpcre3-dev julia -y + - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi script: -# - julia -e 'Pkg.init(); run(`ln -s $(pwd()) $(Pkg.dir("FactCheck"))`); Pkg.pin("FactCheck"); Pkg.resolve()' - - julia -e 'Pkg.clone("git://github.com/zachallaun/FactCheck.jl"); run(`ln -s $(pwd()) $(Pkg.dir("FactCheck"))`); Pkg.pin("FactCheck"); Pkg.resolve()' - - julia ~/.julia/FactCheck/test/test_factcheck.jl + - julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.test("FactCheck")' diff --git a/test/test_factcheck.jl b/test/runtests.jl similarity index 100% rename from test/test_factcheck.jl rename to test/runtests.jl