forked from TYPO3-CMS/styleguide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (45 loc) · 1.38 KB
/
.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
54
55
56
57
58
language: php
php:
- 7.2
- 7.3
sudo: true
cache:
directories:
- $HOME/.composer/cache
notifications:
email:
recipients:
on_success: change
on_failure: change
before_script:
- Build/Scripts/runTests.sh -s composerInstall -p $TRAVIS_PHP_VERSION
script:
- >
echo "Running composer validate"
Build/Scripts/runTests.sh -s composerValidate -p $TRAVIS_PHP_VERSION
- >
echo "Running unit tests";
Build/Scripts/runTests.sh -s unit -p $TRAVIS_PHP_VERSION
- >
echo "Running php lint";
Build/Scripts/runTests.sh -s lint -p $TRAVIS_PHP_VERSION
- >
echo "Running functional tests with mariadb";
Build/Scripts/runTests.sh -s functional -d mariadb -p $TRAVIS_PHP_VERSION
- >
if [ ${TRAVIS_PHP_VERSION} = "7.2" ]; then
echo "Running functional tests with mssql";
Build/Scripts/runTests.sh -s functional -d mssql -p $TRAVIS_PHP_VERSION;
else
echo "Running functional tests with mssql not supported with PHP 7.3 yet";
fi
- >
echo "Running functional tests with postgres";
Build/Scripts/runTests.sh -s functional -d postgres -p $TRAVIS_PHP_VERSION
- >
echo "Running functional tests with sqlite";
Build/Scripts/runTests.sh -s functional -d sqlite -p $TRAVIS_PHP_VERSION
- >
echo "Running acceptance tests";
Build/Scripts/runTests.sh -s acceptance -p $TRAVIS_PHP_VERSION