diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 761a279..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,41 +0,0 @@ -## Documentation: https://github.com/JuliaCI/Appveyor.jl - -environment: - # JULIA_NUM_THREADS: 4 - matrix: - - julia_version: 1.0 - - julia_version: 1.2 - - julia_version: 1.3 - - julia_version: nightly - -platform: - - x86 # 32-bit - - x64 # 64-bit - -## uncomment the following lines to allow failures on nightly julia -## (tests will run but not make your overall status red) -matrix: - allow_failures: - - julia_version: nightly - -#branches: -# only: -# - master -# - /release-.*/ - -notifications: - - provider: Email - on_build_success: false - on_build_failure: false - on_build_status_changed: false - -install: - - ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1")) - -build_script: - - echo "%JL_BUILD_SCRIPT%" - - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%" - -test_script: - - echo "%JL_TEST_SCRIPT%" - - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%" diff --git a/.travis.yml b/.travis.yml index cb485ca..a174c0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,22 +5,26 @@ language: julia os: - linux - osx + - windows julia: - 1.0 - - 1.2 - 1.3 - nightly +arch: + - amd64 + - x86 + env: - JULIA_NUM_THREADS=4 -## uncomment the following lines to allow failures on nightly julia -## (tests will run but not make your overall status red) -matrix: - allow_failures: - - julia: nightly - fast_finish: true +branches: + only: + - master + - dev + - /^release-.*$/ + - /^v\d+\.\d+(\.\d+)?(-\S*)?$/ notifications: email: false @@ -32,10 +36,19 @@ after_success: - julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' jobs: + allow_failures: + - julia: nightly + fast_finish: true + exclude: + - os: osx + arch: x86 + - os: windows + arch: x86 include: - stage: "Documentation" julia: 1.0 os: linux + arch: amd64 script: - julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - julia --project=docs/ docs/make.jl diff --git a/docs/Project.toml b/docs/Project.toml index b691818..2307a07 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -3,4 +3,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a" [compat] -Documenter = "~0.23" +Documenter = "~0.24" diff --git a/docs/make.jl b/docs/make.jl index 71139fe..2cca2df 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -14,7 +14,7 @@ makedocs( prettyurls = !("local" in ARGS), canonical = "https://oschulz.github.io/ParallelProcessingTools.jl/stable/" ), - pages=[ + pages = [ "Home" => "index.md", "API" => "api.md", "LICENSE" => "LICENSE.md", @@ -26,5 +26,6 @@ makedocs( deploydocs( repo = "github.com/oschulz/ParallelProcessingTools.jl.git", - forcepush = true + forcepush = true, + push_preview = true, ) diff --git a/src/onthreads.jl b/src/onthreads.jl index f85631a..2cab5ca 100644 --- a/src/onthreads.jl +++ b/src/onthreads.jl @@ -180,7 +180,7 @@ export @onthreads macro onallthreads(expr) quote - Base.depwarn("`@onallthreads expr` is deprecated, use `@onallthreads allthreads() expr` instead.", nothing) + Base.depwarn("`@onallthreads expr` is deprecated, use `@onthreads allthreads() expr` instead.", nothing) $(_thread_exec_func(:(ParallelProcessingTools.allthreads()), expr)) end end