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
|
||||
matrix:
|
||||
include:
|
||||
# Using vendored dependencies
|
||||
- install:
|
||||
- ./dist/travis/install_reproducible.sh
|
||||
script:
|
||||
- ./dist/travis/check.sh
|
||||
# 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
|
||||
# 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
|
||||
# Using HEAD of dependencies
|
||||
- install:
|
||||
- ./dist/travis/install_tip.sh
|
||||
script:
|
||||
- ./dist/travis/check.sh
|
||||
notifications:
|
||||
irc:
|
||||
channels:
|
||||
- irc.freenode.net#chihaya
|
||||
- irc.freenode.net#chihaya
|
||||
use_notice: true
|
||||
skip_join: true
|
||||
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
|
||||
set -e
|
||||
set -ex
|
||||
|
||||
go test -v -race $(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
|
||||
peer_lifetime: 31m
|
||||
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_write_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
|
||||
set -e
|
||||
set -ex
|
||||
|
||||
# Install golint and go vet.
|
||||
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
|
||||
set -e
|
||||
set -ex
|
||||
|
||||
# Install golint and go vet.
|
||||
go get -u golang.org/x/lint/golint
|
||||
|
|
Loading…
Reference in a new issue