storj/.travis.yml

33 lines
616 B
YAML
Raw Normal View History

2018-04-25 15:55:26 +01:00
language: go
go:
- 1.10.x
git:
depth: 1
services:
- redis
2018-09-25 19:23:21 +01:00
before_script:
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
sudo sh -c 'echo "\n::1 localhost\n" >> /etc/hosts';
fi
2018-04-25 15:55:26 +01:00
before_install:
- source scripts/travis-deps.sh
install:
2018-04-25 15:55:26 +01:00
- make build-dev-deps
- go install -v ./...
2018-04-25 16:22:20 +01:00
script:
- make lint
- make test
- goveralls -coverprofile=.coverprofile -service=travis-ci
- make test-captplanet