File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : bash
2
+ sudo : required
3
+ services :
4
+ - docker
5
+
6
+ env :
7
+ matrix :
8
+ - PHP_VERSION=56
9
+ - PHP_VERSION=70
10
+ - PHP_VERSION=71
11
+ - PHP_VERSION=72
12
+ - PHP_VERSION=73
13
+
14
+ # Installing a newer Docker version
15
+ before_install :
16
+ - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
17
+ - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
18
+ - sudo apt-get update
19
+ - sudo apt-get -y install docker-ce
20
+ - docker version
21
+
22
+ script : ./travis-build.sh
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # ### halt script on error
4
+ set -xe
5
+
6
+ # ### Build the Docker Images
7
+ if [ -n " ${PHP_VERSION} " ]; then
8
+ docker build -f ./Dockerfile-${PHP_VERSION} .
9
+ fi
You can’t perform that action at this time.
0 commit comments