diff --git a/.travis.yml b/.travis.yml index cce1169..86eaa17 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,10 @@ -language: cpp -compiler: - - clang +language: julia +julia: + - 0.4 + - 0.5 + - nightly notifications: email: false -env: - matrix: - - JULIAVERSION="julianightlies" -before_install: - - sudo add-apt-repository ppa:staticfloat/julia-deps -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(); Pkg.clone(pwd()); Pkg.test("SuffixArrays")' +#script: # use the default script which does the following +# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi +# - julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.test("SuffixArrays")' diff --git a/REQUIRE b/REQUIRE new file mode 100644 index 0000000..d5d6467 --- /dev/null +++ b/REQUIRE @@ -0,0 +1 @@ +julia 0.4 diff --git a/test/runtests.jl b/test/runtests.jl index 4e78854..935b3ca 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -83,5 +83,5 @@ function walkdir(dir,files) return unique(files) end -files = walkdir(Pkg.dir("SuffixArrays"),{}) -test_suffix(files) \ No newline at end of file +files = walkdir(dirname(dirname(@__FILE__)),{}) +test_suffix(files)