Add all files needed to bring up VM and run agaric.com locally
This commit is contained in:
parent
52c8b60bac
commit
4d2bc0ee24
742 changed files with 24037 additions and 0 deletions
69
box/.travis.yml
Normal file
69
box/.travis.yml
Normal file
|
@ -0,0 +1,69 @@
|
|||
---
|
||||
language: php
|
||||
php: '7.1'
|
||||
services: docker
|
||||
|
||||
env:
|
||||
global:
|
||||
- CONFIG: tests/config.yml
|
||||
MAKEFILE: example.drupal.make.yml
|
||||
COMPOSERFILE: example.drupal.composer.json
|
||||
HOSTNAME: drupalvm.test
|
||||
MACHINE_NAME: drupalvm
|
||||
IP: 192.168.88.88
|
||||
DRUPALVM_DIR: /var/www/drupalvm
|
||||
DRUSH_BIN: drush
|
||||
TEST_INSTALLED_EXTRAS: true
|
||||
CONTAINER_ID: dvm-test
|
||||
|
||||
matrix:
|
||||
# Defaults - Ubuntu 16.04.
|
||||
- type: defaults
|
||||
distro: ubuntu1604
|
||||
# Defaults - Ubuntu 14.04.
|
||||
- type: defaults
|
||||
distro: ubuntu1404
|
||||
# Defaults - CentOS 7.
|
||||
- type: centos
|
||||
distro: centos7
|
||||
# Defaults - Debian 9.
|
||||
- type: debian
|
||||
distro: debian9
|
||||
# Defaults - Debian 8.
|
||||
- type: debian
|
||||
distro: debian8
|
||||
|
||||
# PHP 5.6 - Ubuntu 16.04.
|
||||
- type: defaults
|
||||
distro: ubuntu1604
|
||||
local_config: tests/ubuntu-16-php56.config.yml
|
||||
DRUSH_BIN: "${DRUPALVM_DIR}/drupal/vendor/drush/drush/drush"
|
||||
TEST_INSTALLED_EXTRAS: false
|
||||
|
||||
# Nginx and Drush make file test - Ubuntu 16.04.
|
||||
- type: nginx-drush-make
|
||||
distro: ubuntu1604
|
||||
local_config: tests/ubuntu-16-nginx.config.yml
|
||||
config_dir: /var/www/drupalvm/config
|
||||
|
||||
# PostgreSQL - Ubuntu 16.04.
|
||||
- type: postgresql
|
||||
distro: ubuntu1604
|
||||
local_config: tests/ubuntu-16-postgresql.config.yml
|
||||
config_dir: /var/www/drupalvm/config
|
||||
DRUSH_BIN: "${DRUPALVM_DIR}/drupal/vendor/drush/drush/drush"
|
||||
TEST_INSTALLED_EXTRAS: false
|
||||
|
||||
before_install:
|
||||
# Pull container.
|
||||
- docker pull geerlingguy/docker-${distro}-ansible:latest
|
||||
|
||||
# Install lint tools.
|
||||
- gem install rubocop
|
||||
|
||||
script:
|
||||
# Vagrantfile syntax check.
|
||||
- 'rubocop ./Vagrantfile ./lib/drupalvm --except LineLength,Eval,MutableConstant,BlockLength,MethodLength,ConditionalAssignment,IndentArray,AlignParameters'
|
||||
|
||||
# Run tests.
|
||||
- composer run-tests
|
Loading…
Add table
Add a link
Reference in a new issue