-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
63 lines (57 loc) · 1.79 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
52
53
54
55
56
57
58
59
60
61
62
63
---
language: php
sudo: required
php:
- 7.3
- 7.2
- 7.1
env:
global:
- PATH="${HOME}/bin:${PATH}"
- SHELLCHECK_URL="https://s3.amazonaws.com/travis-blue-public/binaries/ubuntu/14.04/x86_64/shellcheck-0.4.5.tar.bz2"
cache:
directories:
- "${HOME}/bin"
- "${HOME}/.composer/cache/files"
- "${HOME}/.npm"
- "${HOME}/.yarn-cache"
before_install:
- travis_retry gpg --keyserver hkp://subset.pool.sks-keyservers.net --recv-keys C4133165DF5EB4BAEABDADCACF1E7823C5339B59
- npm set loglevel error
- npm set progress false
install:
- sudo pip install yamllint
- if ! shellcheck --version ; then
curl -sSL "${SHELLCHECK_URL}" | tar --exclude 'SHA256SUMS' --strip-components=1 -C "${HOME}/bin" -xjf -;
fi
- shellcheck --version
- npm install -g yarn
- npm install -g jsonlint
script:
- find . -type f -name "*.yml" -print0 | xargs -0 -n1 yamllint
- find . -type f -name "*.json" -print0 | xargs -0 -n1 jsonlint -q
- gpg --verify ./bin/install.sh.sig
- shellcheck ./bin/install.sh
- composer validate
- travis_wait 45 composer install --no-progress --no-suggest
- yarn install --no-progress
- yarn run test
- ./vendor/bin/codecept --version
- ./vendor/bin/composer -V
- ./vendor/bin/dep -V
- ./vendor/bin/grumphp --version
- ./vendor/bin/jsonlint -h
- ./vendor/bin/parallel-lint -h
- ./vendor/bin/paratest --version
- ./vendor/bin/pdepend --version
- ./vendor/bin/phinx --version
- ./vendor/bin/php-cs-fixer --version
- ./vendor/bin/phpcbf --version
- ./vendor/bin/phpcpd --version
- ./vendor/bin/phpcs --version
- ./vendor/bin/phploc --version
- ./vendor/bin/phpmd --version
- ./vendor/bin/phpmetrics --version
- ./vendor/bin/phpunit --version
- ./vendor/bin/security-checker --version
- ./vendor/bin/tombstone --version