forked from Desarrollo-CeSPI/docker-php-5.3-alpine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (31 loc) · 3.35 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
sudo: required
services:
- docker
env:
global:
- secure: fILf4GslAy3BESZrXbYvdEdJYtM3Vhj4NFL9G60E4eUMw8lBzg6VkU1fohL4LIVeY6u2g5yKfInIjDdUY6BnX8k/Q44xrTDME7IkSJgwFcqaIBPPDtsCIUqRVh17HpNO1hLLpGTWpxyUDeeLAmW7jO4tYCmJsujuxL90/qDTHVRBPb8rp+bMhy9zHAf+2gzJ6TYCzpq/JFFCY0B0SksQFaMQIdPZmejUqCsYQe7m1QB8YTcA/Kupz4XQXGqm9FSjWtT9NnGuUTh6gkg53v4iaizl+2IjznQtdLXVCON1RbXaWXHACgdQLWaxfSJp7X/+RHR+ILhhI3SlOpCfa1C2CcVav4UlWpAda7QhXzfe9CfggV1NmsvhdGjynDq0LAl3C5nZOOkIRCEJ3fHaQj9z5ChNL2cKWYhqKD2kdMHEUe5K0BtdpognQcKVwmwFM6cwxsqXmWOUZ75daNL/dvBtZui8b8ErdRUb/ktjm2wV7w5/5Lp9D0mCmcqNHeXLTRIjtAK1N3EgocOodo7S2KNA5Lz3BRFa+7CzS5cz8SRXQXkLQKzudHdk3rnIF+gdz+NetegO3yyokO28qMASqBtjSI1//abjDqo5jeSCjnFJsENX6HvKmDSYhf7CZ98auRWJWGW9qehHPlTTd3884L52uQBdZEaZ5AaXse/TB6WV9OE=
- secure: x0c528lYVaF8dEiPj2CyCdTE5G0NnDXZT/MPuE/gg4COZMlUTzhwgR37WtoQOUvXp9MYHcRmcbLl3+/fMU1e7iDd/NXyAzI8dW0DTNg6kPB9m0UNe8CavYLWiqRelrBACnkXHNpvo7cncL95BUk+4X2c9disD6tj/Z5181YsQ4CpeEAb4uqT6D7r5aAtD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OYdXnFGeStqe7EjXwvdJ1fGvCQQS6RxZY4qGGXtSsw9dVxHjCMO68TzpiAlY9OXQ9GWy5bS3cNk55S+DpR0WMFGRMIkzYPopVs=
install:
- echo "install nothing!" # put your normal pre-testing installs here
script:
- echo "no tests!" # put your normal testing scripts here
after_success:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- export REPO=cespi/php-5.3
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
- docker build -f Dockerfile -t $REPO:cli-$TAG .
- docker build -f apache/Dockerfile -t $REPO:apache-$TAG ./apache
- docker build -f fpm/Dockerfile -t $REPO:fpm-$TAG ./fpm
- docker push $REPO:cli-$TAG
- docker push $REPO:apache-$TAG
- docker push $REPO:fpm-$TAG
- envsubst '$TAG' < with-modules/Dockerfile.tpl > with-modules/Dockerfile
- docker build -f with-modules/Dockerfile -t $REPO:modules-cli-$TAG ./with-modules
- envsubst '$TAG' < with-modules/apache/Dockerfile.tpl > with-modules/apache/Dockerfile
- docker build -f with-modules/apache/Dockerfile -t $REPO:modules-apache-$TAG ./with-modules/apache
- envsubst '$TAG' < with-modules/fpm/Dockerfile.tpl > with-modules/fpm/Dockerfile
- docker build -f with-modules/fpm/Dockerfile -t $REPO:modules-fpm-$TAG ./with-modules/fpm
- docker push $REPO:modules-cli-$TAG
- docker push $REPO:modules-apache-$TAG
- docker push $REPO:modules-fpm-$TAG