logrus/travis/install.sh

16 lines
382 B
Bash
Raw Normal View History

#!/bin/bash
set -e
2019-10-14 02:51:57 +03:00
if [[ "$TRAVIS_GO_VERSION" =~ ^1\.12\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
2019-10-14 03:02:25 +03:00
GO111MODULE=off go get github.com/dgsb/gox
fi
if [[ "$GO111MODULE" == "on" ]]; then
go mod download
fi
if [[ "$GO111MODULE" == "off" ]]; then
go get github.com/stretchr/testify/assert golang.org/x/sys/unix github.com/konsorten/go-windows-terminal-sequences
fi