-
Notifications
You must be signed in to change notification settings - Fork 46
/
.travis.yml
46 lines (37 loc) · 889 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
41
42
43
44
45
46
language: php
php:
- 7.2
- 7.3
sudo: required
dist: xenial
services:
- docker
env:
DOCKER_COMPOSE_VERSION: 1.23.2
before_install:
- sudo rm -f /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
install:
- docker-compose up -d --build
- sudo chmod +x psh.phar
- ./psh.phar travis-ci:init
- sudo chmod -R 777 htdocs/var/logs/
- curl http://docker.team-opencaching.de
script:
- ./psh.phar travis-ci:ci
after_script:
- docker-compose down
after_success:
- bash <(curl -s https://codecov.io/bash)
- git reset --hard
- git clean -fd
matrix:
allow_failures:
- php: 7.3
deploy:
provider: script
script: bin/upload-crowdin.sh
on:
branch: development