forked from goalgorilla/drupal_social
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (27 loc) · 922 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
sudo: required
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-engine
- docker --version
- 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
- docker-compose --version
- docker-compose -f docker-compose-travis.yml up -d
- docker ps -a
script:
- docker exec -i drupalsocial_web_1 bash /root/dev-scripts/install/install_script.sh
- docker exec -i drupalsocial_web_scripts_1 sh /root/travis/unit-tests.sh
- docker ps
- docker logs social_selenium
- sleep 30
- docker exec -it social_behat sh /root/travis/behatstability.sh