You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
minio/.travis.yml

43 lines
852 B

go_import_path: github.com/minio/minio
sudo: required
services:
- docker
dist: trusty
language: go
os:
- linux
env:
- ARCH=x86_64
- ARCH=i686
script:
# Refer https://blog.hypriot.com/post/setup-simple-ci-pipeline-for-arm-images/
# prepare qemu
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
# build image
- docker build -t minio/minio:edge-armhf . -f Dockerfile.armhf
# test image
- docker run --rm minio/minio:edge-armhf version
## Run all the tests
- make
- make test GOFLAGS="-timeout 15m -race -v"
- make coverage
# push image
- >
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$ARCH" == "x86_64" ]; then
docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"
docker push minio/minio:edge-armhf
fi
after_success:
- bash <(curl -s https://codecov.io/bash)
go:
- 1.7.5