mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-12 15:53:32 -07:00
dist: remove all traces of travisci
This commit is contained in:
-35
@@ -1,35 +0,0 @@
|
||||
language: go
|
||||
go:
|
||||
- 1.13.x
|
||||
sudo: false
|
||||
services:
|
||||
- redis-server
|
||||
matrix:
|
||||
include:
|
||||
# Using vendored dependencies
|
||||
- install:
|
||||
- ./dist/travis/install_reproducible.sh
|
||||
script:
|
||||
- ./dist/travis/check.sh
|
||||
|
||||
# Using HEAD of dependencies
|
||||
- install:
|
||||
- ./dist/travis/install_tip.sh
|
||||
script:
|
||||
- ./dist/travis/check.sh
|
||||
|
||||
allow_failures:
|
||||
# Using HEAD of dependencies
|
||||
- install:
|
||||
- ./dist/travis/install_tip.sh
|
||||
script:
|
||||
- ./dist/travis/check.sh
|
||||
notifications:
|
||||
irc:
|
||||
channels:
|
||||
- irc.freenode.net#chihaya
|
||||
use_notice: true
|
||||
skip_join: true
|
||||
on_success: always
|
||||
on_failure: always
|
||||
email: false
|
||||
@@ -1,6 +1,6 @@
|
||||
# Chihaya
|
||||
|
||||
[](https://travis-ci.org/chihaya/chihaya)
|
||||
[](https://github.com/chihaya/chihaya/workflows/CI/badge.svg)
|
||||
[](https://quay.io/repository/jzelinskie/chihaya)
|
||||
[](https://goreportcard.com/report/github.com/chihaya/chihaya)
|
||||
[](https://godoc.org/github.com/chihaya/chihaya)
|
||||
|
||||
Vendored
-22
@@ -1,22 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
go test -v -race $(go list ./...)
|
||||
go vet $(go list ./...)
|
||||
diff <(goimports -local github.com/chihaya/chihaya -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(printf "")
|
||||
(for d in $(go list ./...); do diff <(golint $d) <(printf "") || exit 1; done)
|
||||
go install github.com/chihaya/chihaya/cmd/chihaya
|
||||
|
||||
# Run e2e test with example config.
|
||||
chihaya --config=./dist/travis/config_memory.yaml --debug&
|
||||
pid=$!
|
||||
sleep 2 # wait for Chihaya to start up (gross)
|
||||
chihaya e2e --debug
|
||||
kill $pid
|
||||
|
||||
# Run e2e test with redis.
|
||||
chihaya --config=./dist/travis/config_redis.yaml --debug&
|
||||
pid=$!
|
||||
sleep 2 # wait for Chihaya to start up (gross)
|
||||
chihaya e2e --debug
|
||||
kill $pid
|
||||
Vendored
-45
@@ -1,45 +0,0 @@
|
||||
# This config file is used by travis for end-to-end testing.
|
||||
# See example_config.yaml for a commented, more complete configuration!
|
||||
|
||||
chihaya:
|
||||
announce_interval: 30m
|
||||
min_announce_interval: 15m
|
||||
prometheus_addr: "0.0.0.0:6880"
|
||||
|
||||
http:
|
||||
addr: "0.0.0.0:6969"
|
||||
https_addr: ""
|
||||
tls_cert_path: ""
|
||||
tls_key_path: ""
|
||||
read_timeout: 5s
|
||||
write_timeout: 5s
|
||||
enable_keepalive: false
|
||||
idle_timeout: 30s
|
||||
enable_request_timing: false
|
||||
announce_routes:
|
||||
- "/announce"
|
||||
scrape_routes:
|
||||
- "/scrape"
|
||||
allow_ip_spoofing: false
|
||||
real_ip_header: "x-real-ip"
|
||||
max_numwant: 100
|
||||
default_numwant: 50
|
||||
max_scrape_infohashes: 50
|
||||
|
||||
udp:
|
||||
addr: "0.0.0.0:6969"
|
||||
max_clock_skew: 10s
|
||||
private_key: "paste a random string here that will be used to hmac connection IDs"
|
||||
enable_request_timing: false
|
||||
allow_ip_spoofing: false
|
||||
max_numwant: 100
|
||||
default_numwant: 50
|
||||
max_scrape_infohashes: 50
|
||||
|
||||
storage:
|
||||
name: memory
|
||||
config:
|
||||
gc_interval: 3m
|
||||
peer_lifetime: 31m
|
||||
shard_count: 1024
|
||||
prometheus_reporting_interval: 1s
|
||||
Vendored
-48
@@ -1,48 +0,0 @@
|
||||
# This config file is used by travis for end-to-end testing.
|
||||
# See example_config.yaml for a commented, more complete configuration!
|
||||
|
||||
chihaya:
|
||||
announce_interval: 30m
|
||||
min_announce_interval: 15m
|
||||
prometheus_addr: "0.0.0.0:6880"
|
||||
|
||||
http:
|
||||
addr: "0.0.0.0:6969"
|
||||
https_addr: ""
|
||||
tls_cert_path: ""
|
||||
tls_key_path: ""
|
||||
read_timeout: 5s
|
||||
write_timeout: 5s
|
||||
enable_keepalive: false
|
||||
idle_timeout: 30s
|
||||
enable_request_timing: false
|
||||
announce_routes:
|
||||
- "/announce"
|
||||
scrape_routes:
|
||||
- "/scrape"
|
||||
allow_ip_spoofing: false
|
||||
real_ip_header: "x-real-ip"
|
||||
max_numwant: 100
|
||||
default_numwant: 50
|
||||
max_scrape_infohashes: 50
|
||||
|
||||
udp:
|
||||
addr: "0.0.0.0:6969"
|
||||
max_clock_skew: 10s
|
||||
private_key: "paste a random string here that will be used to hmac connection IDs"
|
||||
enable_request_timing: false
|
||||
allow_ip_spoofing: false
|
||||
max_numwant: 100
|
||||
default_numwant: 50
|
||||
max_scrape_infohashes: 50
|
||||
|
||||
storage:
|
||||
name: redis
|
||||
config:
|
||||
gc_interval: 3m
|
||||
peer_lifetime: 31m
|
||||
prometheus_reporting_interval: 1s
|
||||
redis_broker: "redis://127.0.0.1:6379/0"
|
||||
redis_read_timeout: 15s
|
||||
redis_write_timeout: 15s
|
||||
redis_connect_timeout: 15s
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
# Install golint and go vet.
|
||||
go get -u golang.org/x/lint/golint
|
||||
go get -u golang.org/x/tools/cmd/...
|
||||
|
||||
go mod download
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
# Install golint and go vet.
|
||||
go get -u golang.org/x/lint/golint
|
||||
go get -u golang.org/x/tools/cmd/...
|
||||
|
||||
go get -t -u ./...
|
||||
Reference in New Issue
Block a user