forked from jikan-me/jikan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (33 loc) · 854 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
39
40
41
42
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
- nightly
env:
matrix:
-
# - DEPENDENCIES=--prefer-lowest
cache:
directories:
- .composer/cache
matrix:
fast_finish: true
allow_failures:
- php: nightly
before_install:
- alias composer=composer\ --no-interaction && composer selfupdate
- composer global require hirak/prestissimo
install:
- travis_retry composer update --no-progress --profile --no-scripts --no-suggest $DEPENDENCIES
script:
- vendor/bin/grumphp run
after_success:
- wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh success $WEBHOOK_URL_PASS
after_failure:
- wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_URL_FAIL