forked from wodby/docker4drupal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (34 loc) · 837 Bytes
/
.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
38
39
40
language: bash
sudo: required
services:
- docker
env:
global:
- DOCKER_COMPOSE_VERSION=1.10.0
matrix:
- DRUPAL_VER=6 PHP_VER=5.3
- DRUPAL_VER=6 PHP_VER=5.6
- DRUPAL_VER=7 PHP_VER=5.6
- DRUPAL_VER=7 PHP_VER=7.0
- DRUPAL_VER=7 PHP_VER=7.1
- DRUPAL_VER=8 PHP_VER=7.0
- DRUPAL_VER=8 PHP_VER=7.1
install:
- sudo rm /usr/local/bin/docker-compose
- 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
script:
- make test
deploy:
provider: releases
api_key: $GITHUB_ACCESS_TOKEN
overwrite: true
skip_cleanup: true
file_glob: true
file:
- docker-compose.yml
- docker-sync.yml
- traefik.yml
on:
tags: true