remove travis docker build

no longer needed
pull/527/head
Min RK 2018-12-19 13:40:23 +01:00
rodzic 58cc9fcd4c
commit 67a19b0255
2 zmienionych plików z 0 dodań i 32 usunięć

Wyświetl plik

@ -29,18 +29,6 @@ script:
after_success:
- pip install codecov
- pushd tests && codecov && popd
jobs:
include:
- stage: deploy
script: skip
if: type = push AND (branch = master OR tag IS present)
env:
- REPO_TYPE=
deploy:
provider: script
script: "./travis/travis-script.bash"
on:
repo: jupyter/repo2docker
env:
matrix:

Wyświetl plik

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
VERSION=$(git rev-parse --short HEAD)
IMAGE="jupyter/repo2docker:${VERSION}"
docker build -t ${IMAGE} .
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
docker login -u ${DOCKER_LOGIN} -p "${DOCKER_PASSWORD}"
docker push ${IMAGE}
echo "Pushed new repo2docker image: ${IMAGE}"
if [[ ! -z "${TRAVIS_TAG}" ]]; then
# also push tagged versions
IMAGE_TAG="jupyter/repo2docker:${TRAVIS_TAG/v/}"
docker tag "${IMAGE}" "${IMAGE_TAG}"
docker push "${IMAGE_TAG}"
echo "Pushed new repo2docker image: ${IMAGE_TAG}"
fi
fi