forked from paragonie/halite
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (31 loc) · 775 Bytes
/
.travis.yml
File metadata and controls
32 lines (31 loc) · 775 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
language: php
sudo: required
dist: trusty
php:
- "7.2"
- "7.3"
- "7.4"
- "master"
- "nightly"
matrix:
fast_finish: true
allow_failures:
- php: "master"
- php: "nightly"
install:
- travis_retry composer install --no-interaction
- wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar
- chmod +x php-coveralls.phar
- php php-coveralls.phar --version
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- ./vendor/bin/psalm
after_success:
- travis_retry php php-coveralls.phar -v
before_script:
- mkdir -p build/logs
- ls -al
cache:
directories:
- vendor
- $HOME/.cache/composer