forked from YetiForceCompany/YetiForceCRM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (43 loc) · 1023 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
44
45
46
47
48
49
50
51
52
53
sudo: required
dist: trusty
language: php
php:
- 7.1
- 7.2
- nightly
matrix:
fast_finish: true
allow_failures:
- php: hhvm
- php: nightly
branches:
only:
- developer
services:
- mysql
mysql:
database: yetiforce
username: root
encoding: utf8
before_script:
- sudo chmod -R 777 tests/setup/
- ./tests/setup/before_script.sh
- ./tests/setup/apache.sh
script:
- cd tests
- /usr/local/bin/phpunit --debug --verbose
after_script:
- sudo cat /var/log/apache2/error.log
- sudo cat /var/log/apache2/access.log
- sudo cat /var/log/apache2/other_vhosts_access.log
- cat ../tests/records.log
- cat ../cache/logs/errors.log
- cat ../cache/logs/request.log
- cat ../cache/logs/phpError.log
- cat ../cache/logs/system.log
- cat ../cache/logs/Importer.log
- cat ../cache/logs/webserviceDebug.log
- cat ../cache/logs/webserviceErrors.log
- php ocular code-coverage:upload --format=php-clover coverage.xml
- bash <(curl -s https://codecov.io/bash)
- sudo ls -all ../screenshots