forked from drupal-composer/preserve-paths
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (31 loc) · 937 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
---
sudo: false
dist: trusty
language: php
before_install:
- sh -c "if [ $TRAVIS_PHP_VERSION != hhvm ]; then echo 'sendmail_path = /bin/true' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi"
- composer self-update
- composer global require --no-update hirak/prestissimo:@stable
- composer global update
- export PATH="$PATH:$HOME/.composer/vendor/bin"
- mkdir -p ~/bin
- curl -sL https://phar.phpunit.de/phpunit-5.7.phar > ~/bin/phpunit
- chmod 755 ~/bin/phpunit
- curl -sL https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar > ~/bin/coveralls
- chmod 755 ~/bin/coveralls
install:
- composer install --prefer-source
before_script:
- mkdir -p build/logs
script:
- phpunit -c phpunit.xml.dist
after_script:
- travis_retry coveralls -v
matrix:
include:
- php: 5.6
- php: 7.0
- php: hhvm
allow_failures:
- php: 7.0
- php: hhvm