Skip to content

Commit

Permalink
Update by review
Browse files Browse the repository at this point in the history
  • Loading branch information
veblush committed Sep 26, 2019
1 parent 2f4aaee commit 9ab2038
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
16 changes: 15 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
before_cache:
# Save tagged docker images
- mkdir -p $HOME/docker && docker images -a --filter='dangling=false' --format '{{.Repository}}:{{.Tag}} {{.ID}}' | grep 'centos-with-vsyscall:latest' | xargs -n 2 -t sh -c 'test -e $HOME/docker/$1.tar.gz || docker save $0 | gzip -2 > $HOME/docker/$1.tar.gz'
- stage: "Build manylinux images"
- stage: "Build manylinux-x86_64 image"
env:
- PLATFORM="x86_64"
before_install:
Expand All @@ -47,3 +47,17 @@ jobs:
on:
branch: master
repo: pypa/manylinux
- stage: "Build manylinux-i686 image"
env:
- PLATFORM="i686"
before_install:
# Load cached docker images
- if [[ -d $HOME/docker ]]; then ls $HOME/docker/*.tar.gz | xargs -I {file} sh -c "zcat {file} | docker load"; fi
script:
- PLATFORM=$PLATFORM TRAVIS_COMMIT=$TRAVIS_COMMIT ./build.sh
deploy:
provider: script
script: docker/deploy.sh
on:
branch: master
repo: pypa/manylinux
4 changes: 0 additions & 4 deletions docker/build_scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ x86_64)
# See https://unix.stackexchange.com/questions/41784/can-yum-express-a-preference-for-x86-64-over-i386-packages
echo "multilib_policy=best" >> /etc/yum.conf
;;
i686)
# CentOS 6 has a problem with curl certificate so disable cert validation
alias curl="curl -k "
;;
esac

# https://hub.docker.com/_/centos/
Expand Down

0 comments on commit 9ab2038

Please sign in to comment.