get some other deps

This commit is contained in:
Edward Muller
2019-10-13 16:51:57 -07:00
parent 8ec9a493ec
commit 75440f2ebe
3 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -10,7 +10,12 @@ os: [linux, osx]
install: install:
- ./travis/install.sh - ./travis/install.sh
- if [[ "$GO111MODULE" == "on" ]]; then go mod download; 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 - 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: script:
- ./travis/cross_build.sh - ./travis/cross_build.sh
- export GOMAXPROCS=4 - export GOMAXPROCS=4
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/bash #!/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 /tmp/gox/gox -build-lib -all
fi fi
+1 -1
View File
@@ -2,7 +2,7 @@
set -e 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 git clone https://github.com/dgsb/gox.git /tmp/gox
pushd /tmp/gox pushd /tmp/gox
git checkout new_master git checkout new_master