mirror of
https://github.com/humhub/humhub.git
synced 2025-01-18 06:38:14 +01:00
38 lines
883 B
YAML
38 lines
883 B
YAML
language: php
|
|
sudo: required
|
|
services:
|
|
- mysql
|
|
addons:
|
|
chrome: stable
|
|
git:
|
|
depth: 3
|
|
php:
|
|
- 5.6
|
|
- 7.0
|
|
- 7.1
|
|
- 7.2
|
|
matrix:
|
|
fast_finish: true
|
|
cache:
|
|
directories:
|
|
- "$HOME/.composer/cache"
|
|
install:
|
|
- ".travis/install-dependencies.sh"
|
|
- ".travis/setup-humhub.sh"
|
|
before_script:
|
|
- "$HOME/chromedriver --url-base=/wd/hub &"
|
|
- php --server 127.0.0.1:8080 --docroot ${TRAVIS_BUILD_DIR} &>/dev/null &
|
|
- sleep 5
|
|
- curl --fail --head http://127.0.0.1:8080/index-test.php
|
|
script:
|
|
- cd protected/humhub/tests
|
|
- php ../../vendor/bin/codecept build
|
|
- php ../../vendor/bin/codecept run --env travis
|
|
after_failure:
|
|
- ".travis/upload-failure.sh"
|
|
after_success:
|
|
- ".travis/trigger-modules.sh"
|
|
env:
|
|
global:
|
|
secure: EGSE10Ya3jf7+CVwOo2L2iTySqpCKN64VpfeXKnmwy/gPzqfGq7p+Rjc5w7E0AGQgRCUmuw6QB+oyg32qlutW8ZzS7JHtnJTWOR8kkzrkpFohDVCFNOBofn4ckd1h64MWcLoF1otNa2GQAZBT/sgdE7HxmEnbCdqESZPEGQ/Q3I=
|