get some other deps

This commit is contained in:
Edward Muller 2019-10-13 16:51:57 -07:00
parent 8ec9a493ec
commit 75440f2ebe
No known key found for this signature in database
GPG Key ID: FC5833DB021899A5
3 changed files with 8 additions and 3 deletions

View File

@ -10,7 +10,12 @@ os: [linux, osx]
install:
- ./travis/install.sh
- 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
- if [[ "$GO111MODULE" == "off" ]]; then go get \
github.com/stretchr/testify/assert \
golang.org/x/sys/unix \
github.com/konsorten/go-windows-terminal-sequences \
github.com/hashicorp/go-version \
github.com/hashicorp/go-version; fi
script:
- ./travis/cross_build.sh
- export GOMAXPROCS=4

View File

@ -1,5 +1,5 @@
#!/bin/bash
if [[ "$TRAVIS_GO_VERSION" =~ ^1.\12\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
if [[ "$TRAVIS_GO_VERSION" =~ ^1\.12\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
/tmp/gox/gox -build-lib -all
fi

View File

@ -2,7 +2,7 @@
set -e
if [[ "$TRAVIS_GO_VERSION" =~ ^1.\12\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
if [[ "$TRAVIS_GO_VERSION" =~ ^1\.12\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
git clone https://github.com/dgsb/gox.git /tmp/gox
pushd /tmp/gox
git checkout new_master