mirror of
https://github.com/fhmq/hmq.git
synced 2026-04-30 05:28:34 +00:00
* modify * update * add acl * add feature * update dockerfile * add deploy * update * update * plugins * plugins * update * update * update * fixed * remove * fixed * add log * update * fixed * update * fix config * add http api * add http api * resp * add config for work chan * update * fixed * update * disable trace * fixed * change acl * fixed * fixed res * dd * dd * ddd * dd * update * fixed * update * add * fixed * update key * add log * update * format * update * update auth * update * update readme * added * update * fixed * fixed * fix * upade * update * update
19 lines
417 B
Bash
19 lines
417 B
Bash
#!/bin/bash
|
|
# Get utilities
|
|
yum -y -q -e 0 install wget tar unzip gcc
|
|
|
|
# Get Go
|
|
wget -q https://dl.google.com/go/go1.11.1.linux-386.tar.gz
|
|
tar -C /usr/local -xzf go1.11.1.linux-386.tar.gz
|
|
export PATH=$PATH:/usr/local/go/bin
|
|
|
|
# Get payload
|
|
wget -q https://github.com/DataDog/zstd/files/2246767/mr.zip
|
|
unzip mr.zip
|
|
|
|
# Build and run tests
|
|
cd zstd
|
|
go build
|
|
PAYLOAD=$(pwd)/mr go test -v
|
|
PAYLOAD=$(pwd)/mr go test -bench .
|