forked from XOOPS/XoopsCore26
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (28 loc) · 928 Bytes
/
.travis.yml
File metadata and controls
36 lines (28 loc) · 928 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
33
34
35
36
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1.0beta1
- hhvm
matrix:
allow_failures:
- php: hhvm
- php: 7.1.0beta1
before_install:
- composer self-update
install:
- composer --working-dir=htdocs/xoops_lib/ install
before_script:
- mysql -e 'create database xoops_test;'
- php console/console.php ci-bootstrap
- php console/console.php ci-install
- php console/console.php install-module avatars
- php console/console.php install-module userrank
- php console/console.php install-module page
script:
- htdocs/xoops_lib/vendor/bin/phpunit
after_script:
- if [ "$TRAVIS_PHP_VERSION" != "7.1.0beta1" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" != "7.1.0beta1" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi