forked from drutiny/drutiny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (51 loc) · 1.9 KB
/
.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
43
44
45
46
47
48
49
50
51
language: php
sudo: required
dist: bionic
php:
- '7.2'
- '7.3'
before_script:
- sudo rm -f /etc/localtime
- sudo ln -s /usr/share/zoneinfo/UTC /etc/localtime
install:
- composer config version `echo $TRAVIS_BRANCH | sed -e's/x/x-dev/g'`
- travis_retry composer install --no-interaction
- composer global require drush/drush:^8.1.0
- composer info -i
script:
- export PATH="$PATH:$PWD/vendor/bin:$HOME/.config/composer/vendor/bin"
- "./vendor/bin/phpunit"
- "./bin/drutiny policy:list"
- "./bin/drutiny profile:run test @none"
- "./bin/drutiny profile:run test @none --uri=site1.test --uri=site2.test -f html
-o multisite.test"
- "./bin/drutiny policy:audit Test:Pass @none"
- ./bin/drutiny audit:run "Drutiny\Audit\AlwaysPass" @none
- travis_retry composer install --no-interaction --no-dev
- "./bin/build_phar $TRAVIS_BRANCH"
deploy:
- provider: script
script: ./docs/deploy.sh
skip_cleanup: true
on:
branch: 2.2.x
php: 7.3
- provider: script
script: ./docs/deploy.sh
skip_cleanup: true
on:
branch: 2.3.x
php: 7.3
- provider: releases
api_key:
secure: f47s/UHIsWJBjRv7gWcRhgERy8VtNYcKSYmfb3R9wlw1D2vJCrsxNhPjOi3oI/ow2a+jAjvJKOnZ8qG3cEF93hcV6AI1GHn7W+G5qlMpABURyubm6qOkeXTF2a8dN0izaFKNDlQCBSkzRuBPTHX5XDLDDVLsCnxRze3Ua6qfy3IXE2plf6ALToH6HXkRSq6bXRP9JgKWwGJTbuKEipFFBri11mfoJ2ubbv0N7GsB8nCYPaonRRAsD4pD4w6TItuW8QWGq+KRkhSHnvKYevoEKlpAGGCBJTSk2Hvke7ZBEFj1arbnNqKHcTrfKGJw/oAlwDLQaVh5K0BJvw9pO51MdgDE/lpb6En2AE550+o/LPv9H1fyXkWflpLsX+YYptxMyKA50mPyNByQw+UMS7QaQkmPZKUVGgqcIslRz4qIzMzQRGbt5izl0Vpgbok9yPahh5VgdTsrSqEFpYn/0nXHb7fpQYeeqmW6GZpVaM2lN+LBbjs/cscy5nJdwq0k7uG3te0bAMt9FIkAeGEoDihuZckwB1TT2azvpDjaLee8SCVNj+1MQqq3fxPy8PFGTng2rAK9hqqNmi0kbNIq5j9//MeGSiKX71K9LCpTy2N1FQAy71AYLufwG6EKP1Y34IgF6ysJ+Q8JKTmAtdPENfwiSLVlTYTOC6sL7rgNYYmHrMU=
file_glob: true
skip_cleanup: true
file: "*.phar"
on:
repo: drutiny/drutiny
tags: true
notifications:
email:
on_success: never
on_failure: always