2015-12-13 12:42:28 +08:00
|
|
|
language: php
|
|
|
|
|
2019-04-21 23:43:19 +02:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
|
|
|
|
2015-12-13 12:42:28 +08:00
|
|
|
php:
|
2018-06-22 18:32:56 +03:00
|
|
|
- 7.1
|
|
|
|
- 7.2
|
2019-03-17 12:38:18 +01:00
|
|
|
- 7.3
|
2019-11-28 21:46:01 +01:00
|
|
|
- 7.4
|
2015-12-13 12:42:28 +08:00
|
|
|
|
2019-04-14 17:12:45 +02:00
|
|
|
node_js:
|
|
|
|
- 10
|
|
|
|
|
2015-12-13 12:42:28 +08:00
|
|
|
branches:
|
2016-09-26 15:44:16 +08:00
|
|
|
- master
|
2015-12-13 12:42:28 +08:00
|
|
|
|
2017-02-15 16:10:11 +08:00
|
|
|
install:
|
2015-12-14 13:29:25 +08:00
|
|
|
- composer self-update
|
2017-04-25 19:44:42 +09:00
|
|
|
- composer install --prefer-dist --no-interaction
|
2019-08-29 09:42:50 +02:00
|
|
|
- cd resources/assets && yarn
|
|
|
|
- cd ../.. && yarn && yarn production
|
2015-12-13 12:42:28 +08:00
|
|
|
|
2016-05-27 10:52:53 +08:00
|
|
|
script:
|
2019-04-14 17:12:45 +02:00
|
|
|
# Backend
|
2018-11-11 12:20:09 +01:00
|
|
|
- composer coverage
|
2019-04-14 17:12:45 +02:00
|
|
|
# Cypress
|
|
|
|
- yarn cy
|
2017-06-03 17:50:53 +01:00
|
|
|
|
2019-07-22 00:42:05 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- vendor/
|
|
|
|
|
2017-06-03 17:50:53 +01:00
|
|
|
addons:
|
|
|
|
code_climate:
|
|
|
|
repo_token: e74dc85a4eeb025a067bde238175f44d9f6a9e544278c4c096a46b8467c5fb9f
|
2019-07-17 20:40:11 +02:00
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libgconf-2-4
|
2017-06-03 17:50:53 +01:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- vendor/bin/test-reporter
|
2018-11-11 12:09:57 +01:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|