forked from salesagility/SuiteCRM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (35 loc) · 839 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
language: php
php:
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- '7.2'
matrix:
fast_finish: true
sudo: required
dist: trusty
services:
- mysql
install:
- composer self-update && composer --version
before_script:
- mysql -e "CREATE DATABASE automated_tests;"
- mysql -u root -e "CREATE USER 'automated_tests'@'localhost' IDENTIFIED BY 'automated_tests';"
- mysql -u root -e "GRANT ALL PRIVILEGES ON automated_tests.* TO 'automated_tests'@'localhost';"
- phpenv config-rm xdebug.ini
- composer install
script:
- \[ -f "config_si.php" \] || cp tests/travis_config_si.php config_si.php
- php tests/testinstall.php
- ./vendor/bin/codecept run -f unit --steps -vvv --debug
after_script:
- cat suitecrm.log
branches:
only:
- master
- develop
- /hotfix.*/
- /feature.*/
- /fix.*/
- /staging.*/