forked from balsama/d8contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (47 loc) · 1.47 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
42
43
44
45
46
47
48
49
50
51
language: php
cache:
bundler: true
apt: true
php:
- 5.5
mysql:
database: drupal
username: root
encoding: utf8
sudo: false
before_install:
- export UPDATE TRAVIS_BUILD_DIR
- BUILD_TOP=`dirname $TRAVIS_BUILD_DIR`
- EXIT_VALUE=0
- composer self-update
- composer --version
install:
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- composer global require drush/drush:dev-master
- echo 'max_execution_time = 120' >> drupal.php.ini;
- echo 'sendmail_path = /bin/true' >> drupal.php.ini;
- phpenv config-add drupal.php.ini
- phpenv rehash
- git clone https://github.com/acquia/lightning.git lightning
- cd lightning
- git checkout 8.x-1.x
- drush make --concurrency=5 build-lightning.make.yml ../drupal -y
- cd ../drupal
- git clone https://github.com/balsama/d8contrib.git modules/d8contrib
- drush make --no-core -y modules/d8contrib/d8contrib.make.yml
- php modules/composer_manager/scripts/init.php
- composer drupal-update commerceguys/intl commerceguys/addressing commerceguys/zone mikehaertl/phpwkhtmltopdf
- drush si lightning --db-url=mysql://root:@localhost/drupal -y
before_script:
- drush runserver --default-server=builtin 8080 &>/dev/null &
- drush en -y d8contrib
- composer drupal-update cebe/markdown
- cd modules/d8contrib
- composer install
- cd ../../
- mv modules/d8contrib/d8contrib_tests d8contrib_tests
- cd d8contrib_tests
- composer install
- touch behat.local.yml
script:
- bin/behat --tags=d8contrib