-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 929 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: php
php:
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- nightly
env:
jobs:
- DB=mysql
jobs:
allow_failures:
- php: nightly
before_script:
- composer install
- cd ..
- git clone https://github.com/joomla/joomla-cms joomla-cms
script:
- plg_system_templatecompanion/vendor/bin/phpunit --configuration plg_system_templatecompanion/travisci-phpunit.xml --include-path ./plg_system_templatecompanion/vendor/bin/phpunit
after_script:
- bash <(curl -s https://codecov.io/bash)
before_deploy:
- cd plg_system_templatecompanion/
- zip -r plg_system_templatecompanion.zip plg_system_templatecompanion/src -x \*.git\* *.gitattributes*
deploy:
provider: releases
edge: true
file:
- plg_system_templatecompanion.zip
on:
tags: true
api_key: $GITHUB_TOKEN
after_deploy:
- curl -T plg_system_templatecompanion/plg_system_templatecompanion_updates.xml -u $FTP_USER:$FTP_PASSWORD $FTP_SERVER