forked from peter279k/rss-php
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
43 lines (33 loc) · 855 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
41
42
43
language: php
php:
- 5.6
- 7.0
- nightly
sudo: false
env:
global:
- PATH="$HOME/.composer/vendor/bin:$PATH"
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
include:
- php: 5.6
env: COMPOSER_FLAGS="--prefer-lowest"
allow_failures:
- php: nightly
before_install:
- phpenv global 5.6
install:
- mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d && echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- mkdir -p build/logs
- composer global require satooshi/php-coveralls:@stable --no-update
- composer global update --prefer-dist --no-interaction
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
before_script:
- composer require phpunit/phpunit
script:
- vendor/bin/phpunit
after_script:
- coveralls -v