Redirect buildx and guix build to null.

This commit is contained in:
viferga 2019-09-18 00:24:57 -08:00
parent 8ffdb2f38f
commit 4602911d63

@ -47,7 +47,7 @@ before_script:
- sudo mv daemon.json /etc/docker/daemon.json
- sudo systemctl restart docker
- docker version
- docker build --platform=local -o . git://github.com/docker/buildx
- docker build --platform=local -o . git://github.com/docker/buildx > /dev/null
- mkdir -p ~/.docker/cli-plugins/
- mv buildx ~/.docker/cli-plugins/docker-buildx
@ -57,7 +57,7 @@ script:
- sh -c 'while true; do echo "."; sleep 300; done' &
- TRAVIS_POLL=$!
- echo "Polling process pid (${TRAVIS_POLL})"
- docker buildx build --allow security.insecure --build-arg METACALL_GUIX_VERSION="1.0.1" --build-arg METACALL_GUIX_ARCH="x86_64" . 1> /dev/null
- docker buildx build --allow security.insecure --build-arg METACALL_GUIX_VERSION="1.0.1" --build-arg METACALL_GUIX_ARCH="x86_64" . > /dev/null
- kill -9 ${TRAVIS_POLL}
# Upload the built images to DockerHub