get some other deps
This commit is contained in:
+6
-1
@@ -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,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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user