diff --git a/.travis.yml b/.travis.yml index 8ffa41caa6..8b1b55c908 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,46 +43,3 @@ jobs: - julia -e 'using Run; Run.prepare("test/environments/jl10")' script: - julia -e 'using Run; Run.test(project="test/environments/jl10")' - - name: "Benchmark (Sequential)" - os: linux - before_install: - - unset JULIA_PROJECT - - julia -e 'using Pkg; pkg"add PkgBenchmark https://github.com/tkf/BenchmarkCI.jl"' - install: - # Run benchmark outside `script` so that it's hidden by default: - - julia -e ' - using PkgBenchmark, BenchmarkCI; - BenchmarkCI.judge( - PkgBenchmark.BenchmarkConfig( - env = Dict( - "JULIA_NUM_THREADS" => "1", - "OMP_NUM_THREADS" => "1", - ), - ); - ); - ' - script: - - julia -e 'using BenchmarkCI; BenchmarkCI.displayjudgement()' - after_success: skip - after_script: lscpu - if: type != push - - name: "Benchmark (Multi-thread)" - os: linux - before_install: - - unset JULIA_PROJECT - - julia -e 'using Pkg; pkg"add PkgBenchmark https://github.com/tkf/BenchmarkCI.jl"' - install: - # Run benchmark outside `script` so that it's hidden by default: - - julia -e ' - using PkgBenchmark, BenchmarkCI; - BenchmarkCI.judge( - PkgBenchmark.BenchmarkConfig(env = Dict("JULIA_NUM_THREADS" => "2")); - script = "benchmark/multi-thread/benchmarks.jl", - project = "benchmark", - ); - ' - script: - - julia -e 'using BenchmarkCI; BenchmarkCI.displayjudgement()' - after_success: skip - after_script: lscpu - if: type != push