forked from escaletech/alpine-php-nginx-pagespeed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (17 loc) · 1.1 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
sudo: required
services:
- docker
env:
global:
- secure: "abdII5nMrzWLHdnAXGo0DcK40nQuQcgqEfiXnM78rqKc2gd+WAHTinozzVbFV3iXJ0uhbw8OsrDQCQGsMDgTIQmlutoczvdkRfXNVss03IfMLI0k1BImCeXR2ii3yldX1ykmAhUsg6AZ3Gy+ACR8cSDvh60TkF/oVO5uNyH05GQm8ejlvisYgKAZzXs/f2f11MGwqQ0RsUlRAlZVfTivRRV/5zGDO/No6z9XkK/THiqUB0atVG8oaFgXg4zBuU2oawBbkvgkVZujCeaCbQOA/0lEPi6b8abmLQnVHjAcJmS2TMGV9IO5GsQZUp0T5QTRh3zQr3FaVyamDZ47Q/uvF9zZDGGpfopH/lKo8LfWaeS55Jkxri4hDNPzwRFdU6xEIhh1yHu05e65NvV6QSAuLTTJXIB8XAEVM2CopWSAe2hCnpB5WyaZ5mdZ2l7u8ZciOwJOgt/udGo3q010xZFTsF6OG2PImC+FGhOxUAebA+nwf2tG6unUaVM/HKDW9t1yOs8TVTUo1Voo947NhAHgnPNNQxlR6jy153S6th0T3FNB9IDtL7OwMLXYVwk6wVrnpuWur60xRsHf2epi/V823MQQnEi3kga9byf5ta70pqbQ4vl+LWwU/k4mk0930g8+BS1XKz55wa2aGP7KGNKMicMEbsEnPez03XU9Am5mt4o="
matrix:
- FLAVOR=builder
- FLAVOR=light
install:
- export CURRENT_PATH=$(pwd)
- cd ${FLAVOR} && docker build -t alpine-php-nginx-pagespeed:${FLAVOR} .
- docker run -d --name alpine-php-nginx-pagespeed-${FLAVOR} alpine-php-nginx-pagespeed:${FLAVOR}
script:
- docker ps | grep -q alpine-php-nginx-pagespeed-${FLAVOR}
after_success:
- cd $CURRENT_PATH