-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (26 loc) · 876 Bytes
/
.travis.yml
File metadata and controls
34 lines (26 loc) · 876 Bytes
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
language: php
php:
- 7.1
- 7.3
- 7.4
jobs:
# Deploy a release if php71 passes
include:
- php: 7.1
env:
- deploy=true
- secure: nKBD+0Y3xvfPiNBPJphVPO5ulpFREwix0J/aiV/xXFWj9zC+80W5EelDBBzq2YnrUMmeT8pFgvC8dNofZ63HR8fx2B2fHv51rHdiEzGPfGmfF9q/Rwz0tvXmatglfvfcHcFye62ZAQ/JCwM22rwQo2jlw5cdusJdkdLZn7LIAbs=
addons:
apt:
update: true
install:
- composer install --ignore-platform-reqs
before_script:
- if [ -f $HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini ]; then phpenv
config-rm xdebug.ini; fi
script:
- make all
# If master branch deploy a release providing everything else passes on the deploy matrix
- if [ "$deploy" = "true" ] && [ "$TRAVIS_BRANCH" = "master" ]; then nvm install --lts && nvm alias default lts
&& npm install --ignore-scripts && ./node_modules/.bin/semantic-release --no-ci; fi
dist: bionic