Skip to content

Commit

Permalink
Build update
Browse files Browse the repository at this point in the history
  • Loading branch information
someone1 committed Nov 2, 2018
1 parent bc8a861 commit 1284791
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ install:
- make get

script:
- go test -coverprofile=coverage.out -covermode=count -coverpkg=$(go list ./... | grep -v '/vendor/' | paste -sd, -) ./...
- sudo -E $(which go) test -v -coverprofile=coverage.out -covermode=count -coverpkg=$(go list ./... | grep -v '/vendor/' | paste -sd, -) ./...
- make fmt vet build

after_success:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lint:
fi

get:
go get -v -d -u -t ./...
go get -v -d -t ./...

test:
go test ./...
Expand Down
4 changes: 2 additions & 2 deletions travis-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ sudo docker run -d -p 9000:9000 --name minio minio/minio server /data

# Setup env variables from Docker containers
sleep 30
export AWS_ACCESS_KEY_ID=$(sudo docker exec -it minio cat /root/.minio/config.json | python -c "import sys, json; print(json.load(sys.stdin)['credential']['accessKey'])")
export AWS_SECRET_ACCESS_KEY=$(sudo docker exec -it minio cat /root/.minio/config.json | python -c "import sys, json; print(json.load(sys.stdin)['credential']['secretKey'])")
export AWS_ACCESS_KEY_ID=$(sudo docker exec -it minio cat /data/.minio.sys/config/config.json | python -c "import sys, json; print(json.load(sys.stdin)['credential']['accessKey'])")
export AWS_SECRET_ACCESS_KEY=$(sudo docker exec -it minio cat /data/.minio.sys/config/config.json | python -c "import sys, json; print(json.load(sys.stdin)['credential']['secretKey'])")

# Scratch dir for tests
mkdir ./scratch

0 comments on commit 1284791

Please sign in to comment.