File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ dist : xenial
2
+ language : php
3
+
4
+ env :
5
+ global :
6
+ - SETUP=stable
7
+
8
+ matrix :
9
+ fast_finish : true
10
+ include :
11
+ - php : 7.1
12
+ - php : 7.1
13
+ env : SETUP=lowest
14
+ - php : 7.2
15
+ - php : 7.2
16
+ env : SETUP=lowest
17
+ - php : 7.3
18
+ - php : 7.3
19
+ env : SETUP=lowest
20
+
21
+ cache :
22
+ directories :
23
+ - $HOME/.composer/cache
24
+
25
+ services :
26
+ - memcached
27
+ - redis-server
28
+ - mysql
29
+
30
+ before_install :
31
+ - phpenv config-rm xdebug.ini || true
32
+ - echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
33
+ - printf "\n" | pecl install -f redis-4.3.0
34
+ - travis_retry composer self-update
35
+ - mysql -e 'CREATE DATABASE forge;'
36
+
37
+ install :
38
+ - if [[ $SETUP = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
39
+ - if [[ $SETUP = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
40
+
41
+ script : vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments