travis: get stuff to work
This commit is contained in:
parent
9acf809ffb
commit
c8c0de539c
5 changed files with 20 additions and 20 deletions
32
.travis.yml
32
.travis.yml
|
@ -6,28 +6,28 @@ services:
|
||||||
- redis-server
|
- redis-server
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# Using vendored dependencies
|
# Using vendored dependencies
|
||||||
- install:
|
- install:
|
||||||
- ./dist/travis/install_reproducible.sh
|
- ./dist/travis/install_reproducible.sh
|
||||||
script:
|
script:
|
||||||
- ./dist/travis/check.sh
|
- ./dist/travis/check.sh
|
||||||
|
|
||||||
# Using HEAD of dependencies
|
# Using HEAD of dependencies
|
||||||
- install:
|
- install:
|
||||||
- ./dist/travis/install_tip.sh
|
- ./dist/travis/install_tip.sh
|
||||||
script:
|
script:
|
||||||
- ./dist/travis/check.sh
|
- ./dist/travis/check.sh
|
||||||
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
# Using HEAD of dependencies
|
# Using HEAD of dependencies
|
||||||
- install:
|
- install:
|
||||||
- ./dist/travis/install_tip.sh
|
- ./dist/travis/install_tip.sh
|
||||||
script:
|
script:
|
||||||
- ./dist/travis/check.sh
|
- ./dist/travis/check.sh
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
- irc.freenode.net#chihaya
|
- irc.freenode.net#chihaya
|
||||||
use_notice: true
|
use_notice: true
|
||||||
skip_join: true
|
skip_join: true
|
||||||
on_success: always
|
on_success: always
|
||||||
|
|
2
dist/travis/check.sh
vendored
Normal file → Executable file
2
dist/travis/check.sh
vendored
Normal file → Executable file
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -ex
|
||||||
|
|
||||||
go test -v -race $(go list ./...)
|
go test -v -race $(go list ./...)
|
||||||
go vet $(go list ./...)
|
go vet $(go list ./...)
|
||||||
|
|
2
dist/travis/config_redis.yaml
vendored
2
dist/travis/config_redis.yaml
vendored
|
@ -39,7 +39,7 @@ chihaya:
|
||||||
gc_interval: 3m
|
gc_interval: 3m
|
||||||
peer_lifetime: 31m
|
peer_lifetime: 31m
|
||||||
prometheus_reporting_interval: 1s
|
prometheus_reporting_interval: 1s
|
||||||
redis_broker: "redis://pwd@127.0.0.1:6379/0"
|
redis_broker: "redis://127.0.0.1:6379/0"
|
||||||
redis_read_timeout: 15s
|
redis_read_timeout: 15s
|
||||||
redis_write_timeout: 15s
|
redis_write_timeout: 15s
|
||||||
redis_connect_timeout: 15s
|
redis_connect_timeout: 15s
|
2
dist/travis/install_reproducible.sh
vendored
Normal file → Executable file
2
dist/travis/install_reproducible.sh
vendored
Normal file → Executable file
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -ex
|
||||||
|
|
||||||
# Install golint and go vet.
|
# Install golint and go vet.
|
||||||
go get -u golang.org/x/lint/golint
|
go get -u golang.org/x/lint/golint
|
||||||
|
|
2
dist/travis/install_tip.sh
vendored
Normal file → Executable file
2
dist/travis/install_tip.sh
vendored
Normal file → Executable file
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -ex
|
||||||
|
|
||||||
# Install golint and go vet.
|
# Install golint and go vet.
|
||||||
go get -u golang.org/x/lint/golint
|
go get -u golang.org/x/lint/golint
|
||||||
|
|
Loading…
Reference in a new issue