-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (25 loc) · 817 Bytes
/
.travis.yml
File metadata and controls
29 lines (25 loc) · 817 Bytes
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
group: deprecated-2017Q2
sudo: required
env:
DOCKER_COMPOSE_VERSION: 1.21.2
services:
- docker
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
- curl -L https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_VERSION/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose -v
- docker -v
- cat docker-compose.yml
- echo 'export PATH=./bin:$PATH' >> ~/.bashrc
- source ~/.bashrc
script:
- cp .env.dist .env
- stacker build
- stacker up
- stacker ps
- stacker php -v