forked from AzuraCast/AzuraCast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 1.65 KB
/
.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
branches:
except:
- l10n_master
git:
depth: 1
env:
DOCKER_COMPOSE_VERSION: 1.19.0
sudo: required
dist: trusty
services:
- docker
before_install:
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- 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
- shopt -s expand_aliases
- alias dc-testing='docker-compose -f docker-compose.sample.yml -f docker-compose.testing.yml'
install:
- echo $TRAVIS_BUILD_DIR
- chmod 777 $TRAVIS_BUILD_DIR/tests/_output/
- cp azuracast.sample.env azuracast.env
- dc-testing build web
- dc-testing run --user="azuracast" --rm web azuracast_install
script:
- dc-testing run --user="azuracast" --rm web composer test
after_failure:
- cat tests/_output/*.html
notifications:
slack:
secure: dmyA8fXGH7wO8oYO14Eg45kWqsGRI94Da+r2GRkm/l9wZG4YDdTc4jc1CPFeK40Acnz5wjtDUoHZ9Q1AYFaMNBype4/mfW59UM7+7p2ho06OQHJiIERJXHVHOz/OCoOaKHs4xzUga/LbvAgaMpv/ZaRfIzpv573PerlKYwHzgYIyyVRef1DrRKi3mz6CAyUxu8Nx++3gmZjdsL6eWY6trHqdyGzEjU4f1cgGQqjlYIqWG31THMKKzNUwdR9TIW1ecCqz+HVa2WqvSc0YSOF+9OfrgjNiAcJPiURIPfnocdXQEqT05h7tyKxtaL5OaZUv4pPpxRi/bIJyNdeM6tKNWFYqv9l5kFS1TwSVjxmDWYMSk4A9SpWvXCagxFT1QPh78cQDtH3gTa7Soic0CwCxROcM0s7N+B3TAA4aLHJN16QA0rBzJCLbX/CRdCMRBEcnqIacbs8WPJO4msBHf/YXKr2R4OUn7vbvPeK0K452OQJFrOGqFENo0dKQ+RvERr2AY07Xhqg91Zzgq7ZjYr1jUk2yO67cAO7IdVy1e4OhASPHzhd6laJPfmBWA1dflnOBjeqfBygXyfgOwVS6yTuXiQ4Gp3IXF6SLy0bhu9qEEsxJoczH17c+jziZ4zZREvQx9IpM8Rb5TGNEWfzICRXuHEb/usW41N58bYzsxHD3YZA=