mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
Merge branch '4' into pulls/4/login-forms
This commit is contained in:
commit
87ae55539e
17
.cow.json
17
.cow.json
@ -2,6 +2,7 @@
|
||||
"github-slug": "silverstripe/silverstripe-installer",
|
||||
"changelog-holder": "silverstripe/framework",
|
||||
"changelog-path": "docs/en/04_Changelogs/{stability}/{version}.md",
|
||||
"changelog-template": ".cow/.changelog.md.twig",
|
||||
"child-stability-inherit": true,
|
||||
"dependency-constraint": "exact",
|
||||
"vendors": [
|
||||
@ -13,21 +14,5 @@
|
||||
],
|
||||
"exclude": [
|
||||
"silverstripe/recipe-plugin"
|
||||
],
|
||||
"archives": [
|
||||
{
|
||||
"recipe": "silverstripe/recipe-core",
|
||||
"files": [
|
||||
"SilverStripe-framework-v{version}.zip",
|
||||
"SilverStripe-framework-v{version}.tar.gz"
|
||||
]
|
||||
},
|
||||
{
|
||||
"recipe": "silverstripe/installer",
|
||||
"files": [
|
||||
"SilverStripe-cms-v{version}.zip",
|
||||
"SilverStripe-cms-v{version}.tar.gz"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
12
.cow/changelog.md.twig
Normal file
12
.cow/changelog.md.twig
Normal file
@ -0,0 +1,12 @@
|
||||
# {{ version }}
|
||||
|
||||
## Overview {{ '{#overview}' }}
|
||||
|
||||
-
|
||||
|
||||
## Upgrading {{ '{#upgrading}' }}
|
||||
|
||||
...
|
||||
|
||||
{{ logs }}
|
||||
|
23
.travis.yml
23
.travis.yml
@ -1,10 +1,11 @@
|
||||
language: php
|
||||
|
||||
dist: trusty
|
||||
dist: xenial
|
||||
|
||||
before_install:
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install chromium-chromedriver
|
||||
services:
|
||||
- mysql
|
||||
- postgresql
|
||||
- xvfb
|
||||
|
||||
cache:
|
||||
directories:
|
||||
@ -14,13 +15,13 @@ addons:
|
||||
apt:
|
||||
packages:
|
||||
- tidy
|
||||
- chromium-chromedriver
|
||||
- chromium-browser
|
||||
|
||||
env:
|
||||
global:
|
||||
- TRAVIS_NODE_VERSION="6"
|
||||
- COMPOSER_ROOT_VERSION="4.5.x-dev"
|
||||
- DISPLAY=":99"
|
||||
- XVFBARGS=":99 -ac -screen 0 1024x768x16"
|
||||
- COMPOSER_ROOT_VERSION="4.x-dev"
|
||||
- SS_BASE_URL="http://localhost:8080/"
|
||||
- SS_ENVIRONMENT_TYPE="dev"
|
||||
|
||||
@ -74,6 +75,11 @@ before_script:
|
||||
# Extra $PATH
|
||||
- export PATH=/usr/lib/chromium-browser/:$PATH
|
||||
|
||||
# Remove preinstalled Chrome (google-chrome)
|
||||
# this would conflict with our chromium-browser installation
|
||||
# and its version is incompatible with chromium-chromedriver
|
||||
- sudo apt-get remove -y --purge google-chrome-stable || true
|
||||
|
||||
# Init PHP
|
||||
- phpenv rehash
|
||||
- phpenv config-rm xdebug.ini || true
|
||||
@ -81,7 +87,7 @@ before_script:
|
||||
|
||||
# Install composer dependencies
|
||||
- composer validate
|
||||
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.2.x-dev; fi
|
||||
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.x-dev; fi
|
||||
- if [[ $BEHAT_TEST ]]; then composer require --no-update silverstripe/recipe-testing:^1; fi;
|
||||
- if [[ $HEALTH_TEST ]]; then composer require --no-update silverstripe/serve:^2; fi;
|
||||
- if ! [[ $HEALTH_TEST ]]; then composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile; fi;
|
||||
@ -90,7 +96,6 @@ before_script:
|
||||
# Start behat services
|
||||
- if [[ $BEHAT_TEST ]] || [[ $HEALTH_TEST ]]; then mkdir artifacts; fi
|
||||
- if [[ $BEHAT_TEST ]] || [[ $HEALTH_TEST ]]; then cp composer.lock artifacts/; fi
|
||||
- if [[ $BEHAT_TEST ]]; then sh -e /etc/init.d/xvfb start; sleep 3; fi
|
||||
- if [[ $BEHAT_TEST ]]; then (chromedriver > artifacts/chromedriver.log 2>&1 &); fi
|
||||
- if [[ $BEHAT_TEST ]] || [[ $HEALTH_TEST ]]; then (vendor/bin/serve --bootstrap-file vendor/silverstripe/cms/tests/behat/serve-bootstrap.php &> artifacts/serve.log &); sleep 3; fi
|
||||
|
||||
|
@ -5,9 +5,9 @@
|
||||
"require": {
|
||||
"php": ">=7.1.0",
|
||||
"silverstripe/recipe-plugin": "^1.2",
|
||||
"silverstripe/recipe-cms": "4.5.x-dev",
|
||||
"silverstripe/recipe-cms": "4.x-dev",
|
||||
"silverstripe-themes/simple": "~3.2.0",
|
||||
"silverstripe/login-forms": "^4.0.x-dev"
|
||||
"silverstripe/login-forms": "^4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.7"
|
||||
@ -21,9 +21,6 @@
|
||||
"assets/*",
|
||||
"favicon.ico"
|
||||
],
|
||||
"branch-alias": {
|
||||
"4.x-dev": "4.5.x-dev"
|
||||
},
|
||||
"resources-dir": "_resources"
|
||||
},
|
||||
"config": {
|
||||
|
@ -19,7 +19,7 @@
|
||||
-->
|
||||
<phpunit bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true">
|
||||
<testsuite name="Default">
|
||||
<directory>mysite/tests</directory>
|
||||
<directory>app/tests</directory>
|
||||
<directory>vendor/silverstripe/cms/tests/php</directory>
|
||||
<directory>vendor/silverstripe/framework/tests/php</directory>
|
||||
</testsuite>
|
||||
|
Loading…
Reference in New Issue
Block a user