forked from ua-parser/uap-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (31 loc) · 885 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
dist: bionic
os: linux
language: php
before_script:
- phpenv config-rm xdebug.ini || true
cache:
directories:
- $HOME/.composer/cache/files
- vendor
jobs:
allow_failures:
- php: nightly
include:
- php: 7.4
- php: 7.3
- php: 7.2
if: branch = master AND fork = false
env:
- UPDATE_RESOURCES=true
- secure: "KdRIoeVMAjv63erXmG3EkOnE/UrIsgIJ7/S3yZwJq3y+c6jd7Xax6lNWRF6PcfKtNHJNhreIKA/skW5CkPktKIKqOrHrJVx5GsIQX3OqW1z2LF/qqDr7zxNWWrCCI13t7uy4GkPNU0xMwauk+5GCoyBrsxwjwf3/Lm3SA7xZTrE="
- php: nightly
install:
- composer self-update --preview
- composer install --ignore-platform-req=php
install:
- composer install
script:
- ./vendor/bin/phpunit || travis_terminate 1
- ./vendor/bin/psalm || travis_terminate 1
- ./vendor/bin/phpstan analyse -l 5 src || travis_terminate 1
- ./ci/update.sh