koel/.travis.yml

43 lines
607 B
YAML
Raw Normal View History

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