diff --git a/.travis.yml b/.travis.yml index 97e06ec..fc521df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ os: - linux - osx julia: - - 0.6 + - 0.7 - nightly notifications: email: false @@ -16,20 +16,3 @@ git: matrix: allow_failures: - julia: nightly - -## uncomment and modify the following lines to manually install system packages -#addons: -# apt: # apt-get for linux -# packages: -# - gfortran -#before_script: # homebrew for mac -# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi - -## uncomment the following lines to override the default test script -#script: -# - julia -e 'Pkg.clone(pwd()); Pkg.build("DocSeeker"); Pkg.test("DocSeeker"; coverage=true)' -after_success: - # push coverage results to Coveralls - - julia -e 'cd(Pkg.dir("DocSeeker")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' - # push coverage results to Codecov - - julia -e 'cd(Pkg.dir("DocSeeker")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' diff --git a/test/runtests.jl b/test/runtests.jl index 1d33798..aa69f01 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,5 @@ using DocSeeker -using Base.Test +using Test import DocSeeker: dynamicsearch @@ -15,7 +15,7 @@ end @test firstN(dynamicsearch("sine"), ["sin", "sind", "asin"], 20) -@test firstN(dynamicsearch("regular expression"), ["match", "eachmatch", "search"], 20) +@test firstN(dynamicsearch("regular expression"), ["match", "eachmatch", "replace"], 20) @test dynamicsearch("Real")[1][2].name == "Real" @test length(dynamicsearch("Real")[1][2].text) > 0 @@ -32,8 +32,4 @@ end @test dynamicsearch("regex")[1][2].name == "Regex" -DocSeeker._createdocsdb() -@test isfile(DocSeeker.dbpath) -@test !isempty(DocSeeker.loaddocsdb()) - include("finddocs.jl")