File tree Expand file tree Collapse file tree 7 files changed +355
-80
lines changed
Expand file tree Collapse file tree 7 files changed +355
-80
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,13 @@ before_install:
1010- export GOARCH="${MY_GOARCH}"
1111install :
1212- export GOPATH=`pwd`
13+ - export CGO_ENABLED=0
1314- mkdir -p bin
1415script :
15- - go build -o bin/coscale-cli$EXTENSION coscale
16+ - if [ "$GOOS" == "linux" ]; then
17+ go test -timeout 20m -a -v coscale/... || travis_terminate 1;
18+ fi
19+ - go build -a -tags netgo -ldflags '-w' -o bin/coscale-cli$EXTENSION coscale
1620deploy :
1721 provider : releases
1822 api_key :
Original file line number Diff line number Diff line change 11#! /bin/bash
22export GOPATH=` pwd`
33mkdir -p bin
4+
45CGO_ENABLED=0 go build -a -tags netgo -ldflags ' -w' -o bin/coscale-cli coscale
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ const (
2424 DEFAULT_STRING_VALUE string = `!>dUmmy<!`
2525 // DEFAULT_INT64_VALUE defines the default value for an integer flag.
2626 DEFAULT_INT64_VALUE int64 = math .MinInt64
27+ // MaxUploadSize for data call.
28+ MaxUploadSize int = 10 * 1024 * 1024 // 10MB
2729)
2830
2931const (
You can’t perform that action at this time.
0 commit comments