Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Commit e0d9196

Browse files
committed
enable travis
1 parent aab54a3 commit e0d9196

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

.travis.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
language: c
2+
sudo: required
3+
dist: trusty
4+
services:
5+
- docker
6+
7+
cache:
8+
directories:
9+
- $HOME/docker
10+
11+
env:
12+
global:
13+
# DOCKERPASS
14+
- secure: "J6WLnf3kFSiD2O91xl+ltNjQC+Oh8l3LopZIr9Z4NYMZFPWHuEC7QlAjTetL7pA/9queGv7XL1+g5URAJTCCZA6BxdaO5wUqHFyidNqllmBgILzlOm/MICrTIcvIOq/5tzxGXyeaHIBdaDC89j4LOBcfmImZGbFVFAkQDynYFwwJz1VXZwYFab8capGJuwSqkGgzJIV1PZiFcikDPxB4Oufego14bQpWs7OBKiLMGvzz3Lz0H+tY2FjO8Vk3HhBbKoH+hiZC9/553Nna3QiAUk8/UJgLSL6rwbUa9nQBDjG/EgSwb2BBiQLQuP1HTwyXaMxV9UruFRE6UL0yMqDV/7ASFkD1eTCYaGY+w1vibPjYGMYu9M0igsKdvTcr7YLt/tJKEWYOm0M+jEqYIdMFsMXqQZdq2O8vKAQR2jKp5PwmgdoSumaFCYvfJ1r5FnAgWwQhfp3cwacHJ9dzTKCkLp/DJuu64k13q+ytopb1yGs7GJLO4PXQYYNURCrWydqSEKgotvTysuB3B1fNgv+nHA8sDoBywIM2XfgKIsyOAfWHoQE1ifJCDArb8XX+DNAP7ENYG3YL6LzzdTVaJ7ZpzurPmXTa/ViP/LQ7Af/1+kHvTtBZj6xoBq32FsYrwqvu0D7R53sc3jFNrD7bomegWDHx3srmi+4awNRgEHP+WSI="
15+
16+
jobs:
17+
include:
18+
- stage: "Build manylinux-pypy images"
19+
20+
script:
21+
- TRAVIS_COMMIT=$TRAVIS_COMMIT ./build.sh
22+
23+
deploy:
24+
provider: script
25+
script: docker/deploy.sh
26+
on:
27+
branch: master
28+
repo: antocuni/manylinux-pypy

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# Stop at any error, show all commands
44
set -ex
55

6-
TAG=manylinux2010-pypy_x86_64
6+
TAG=pypywheels/manylinux2010-pypy_x86_64
77
docker/build_scripts_pypy/prefetch_pypy.sh
8-
docker build --rm -t $TAG:${TRAVIS_COMMIT:-x} -t $TAG:latest -f docker/Dockerfile-x86_64 docker/
8+
docker build --rm -t $TAG:latest -f docker/Dockerfile-x86_64 docker/

docker/deploy.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
docker login -u pypywheels -p $DOCKERPASS
3+
tag=pypywheels/manylinux2010-pypy_x86_64
4+
docker push ${tag}:latest

0 commit comments

Comments
 (0)