humhub/.travis.yml

43 lines
1.1 KiB
YAML
Raw Normal View History

2015-03-31 08:06:48 +02:00
language: php
sudo: required
services:
- mysql
addons:
chrome: stable
git:
depth: 3
cache:
directories:
- $HOME/.composer/cache
2015-07-11 10:36:02 +02:00
php:
- 7.1
- 7.2
2019-04-30 15:15:36 +02:00
- 7.3
2020-07-16 12:16:30 +02:00
- 7.4
2015-07-11 10:36:02 +02:00
matrix:
fast_finish: true
jobs:
include:
- stage: deploy
name: "Trigger build for external modules"
install: skip
script: .travis/trigger-modules.sh
if: fork = false
2015-07-11 10:36:02 +02:00
install:
2018-08-24 17:20:57 +02:00
- .travis/install-dependencies.sh
- .travis/setup-humhub.sh
script:
2020-04-06 21:05:39 +02:00
#- '$HOME/chromedriver --verbose --log-path=/tmp/chromedriver.log --url-base=/wd/hub &'
- '$HOME/chromedriver --url-base=/wd/hub &'
- 'php --server 127.0.0.1:8080 --docroot ${TRAVIS_BUILD_DIR} &>/tmp/phpserver.log &'
- 'sleep 5 && curl --fail --head http://127.0.0.1:8080/index-test.php'
2018-08-24 17:20:57 +02:00
- 'cd protected/humhub/tests'
- 'php ../../vendor/bin/codecept build'
- 'php ../../vendor/bin/codecept run --env travis'
- 'cd ../../../'
after_failure:
2018-08-24 17:20:57 +02:00
- .travis/upload-failure.sh
2018-08-24 16:19:30 +02:00
env:
global:
secure: EGSE10Ya3jf7+CVwOo2L2iTySqpCKN64VpfeXKnmwy/gPzqfGq7p+Rjc5w7E0AGQgRCUmuw6QB+oyg32qlutW8ZzS7JHtnJTWOR8kkzrkpFohDVCFNOBofn4ckd1h64MWcLoF1otNa2GQAZBT/sgdE7HxmEnbCdqESZPEGQ/Q3I=