forked from wodby/docker4drupal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (28 loc) · 681 Bytes
/
.travis.yml
File metadata and controls
32 lines (28 loc) · 681 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
30
31
32
language: bash
services:
- docker
env:
matrix:
- DRUPAL_VER=8 PHP_VER=7.3
- DRUPAL_VER=8 PHP_VER=7.2
- DRUPAL_VER=8 PHP_VER=7.1
# - DRUPAL_VER=7 PHP_VER=7.3
- DRUPAL_VER=7 PHP_VER=7.2
- DRUPAL_VER=7 PHP_VER=7.1
- DRUPAL_VER=7 PHP_VER=5.6 GITHUB_RELEASE=1
script:
- set -e
- make test
- cp docker.mk Makefile
- tar -czf docker4drupal.tar.gz docker-compose.yml docker-compose.override.yml docker-sync.yml Makefile .env traefik.yml
deploy:
provider: releases
api_key: $GITHUB_ACCESS_TOKEN
overwrite: true
skip_cleanup: true
file_glob: true
file:
- docker4drupal.tar.gz
on:
tags: true
condition: $GITHUB_RELEASE = 1