forked from Joomla-Bible-Study/Proclaim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (28 loc) · 908 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
# Forces new Travis-CI Infrastructure
sudo: false
language: php
env:
global:
- RUN_UNIT_TESTS="yes"
- INSTALL_MEMCACHE="yes"
- INSTALL_MEMCACHED="yes"
- INSTALL_REDIS="yes"
- RUN_PHPCS="yes"
- RUN_UNIT_TESTS="no"
matrix:
fast_finish: true
include:
- php: 7.4
env: INSTALL_APCU="yes" INSTALL_MEMCACHE="no"
services:
before_script:
- phpenv config-rm xdebug.ini
# Make sure all dev dependencies are installed
- composer install
script:
#- libraries/vendor/bin/phpcs --config-set installed_paths build/coding-standards,libraries/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards
- if [[ $RUN_PHPCS == "yes" ]]; then libraries/vendor/bin/phpcs --report=full --standard=build/coding-standards/CWM .; fi
- if [[ $RUN_UNIT_TESTS == "yes" ]]; then libraries/vendor/bin/phpunit --configuration travisci-phpunit.xml; fi
branches:
except:
- JBSM6.2