forked from goalgorilla/drupal_social
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (34 loc) · 1.25 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
34
35
36
37
38
39
40
41
sudo: required
addons:
artifacts:
# ...
paths:
- $(git ls-files -o | grep travis_artifacts | tr "\n" ":")
language: php
php:
- 5.6
env:
DOCKER_COMPOSE_VERSION: 1.6.2
services:
- docker
before_install:
- sudo apt-get clean
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker --version
- docker-compose --version
- phpenv config-rm xdebug.ini
- composer install --prefer-dist --no-interaction
- sudo rm /usr/local/bin/docker-compose || true
- 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 --version
- docker-compose -f docker-compose-ci.yml up -d
- docker ps -a
script:
- docker exec -i social_ci_web bash /var/www/scripts/social/check-coding-standards.sh
- docker exec -i social_ci_web bash /var/www/scripts/social/install/install_script.sh
- docker exec -i social_ci_web bash /var/www/scripts/social/check-feature-state.sh social
- docker exec -i social_ci_web_scripts sh /var/www/scripts/social/unit-tests.sh
- docker exec -it social_ci_behat sh /var/www/scripts/social/behatstability.sh