From f80cd8f603e330fe8f3c24141f0a3485981de494 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Mon, 11 Nov 2013 16:32:03 -0800 Subject: [PATCH] Enable reporting to status.julialang.org --- .travis.yml | 2 +- test/perf/Makefile | 1 + test/perf/report.jl | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 test/perf/report.jl diff --git a/.travis.yml b/.travis.yml index 9308ec4b62c8e..49360963f6239 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,9 +11,9 @@ notifications: on_failure: always webhooks: urls: + - http://status.julialang.org/put/travis - http://criid.ee.washington.edu:8000/travis-hook - http://julia.mit.edu:8000/travis-hook - on_failure: never before_install: - BUILDOPTS="LLVM_CONFIG=llvm-config-3.3 VERBOSE=1 USE_BLAS64=0"; for lib in LLVM ZLIB SUITESPARSE ARPACK BLAS FFTW LAPACK GMP MPFR PCRE LIBUNWIND READLINE GRISU OPENLIBM RMATH; do export BUILDOPTS="$BUILDOPTS USE_SYSTEM_$lib=1"; done - sudo apt-get update -qq -y diff --git a/test/perf/Makefile b/test/perf/Makefile index 3dcc37c916199..9297ce79386e6 100644 --- a/test/perf/Makefile +++ b/test/perf/Makefile @@ -20,6 +20,7 @@ codespeed: # @$(call spawn,$(JULIA_EXECUTABLE)) blas/perf.jl codespeed # @$(call spawn,$(JULIA_EXECUTABLE)) lapack/perf.jl codespeed # @$(call spawn,$(JULIA_EXECUTABLE)) sort/perf.jl codespeed + @$(call spawn,$(JULIA_EXECUTABLE)) report.jl clean: diff --git a/test/perf/report.jl b/test/perf/report.jl new file mode 100644 index 0000000000000..50ba540c7f888 --- /dev/null +++ b/test/perf/report.jl @@ -0,0 +1,7 @@ +using HTTPClient.HTTPC + +env_name = chomp(readall(`hostname`)) +commit = Base.BUILD_INFO.commit +flavor = ENV["JULIA_FLAVOR"] +json = "{\"env\": \"$env_name\", \"blas\":\"$flavor\", \"commit\":\"$commit\"}" +post("http://status.julialang.org/put/codespeed", json )