File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 6
6
- 7.4
7
7
8
8
env :
9
- - REDIS_HOST=localhost
9
+ - REDIS_HOST=localhost REDIS_TIMESERIES_VERSION=1.2.2
10
+ - REDIS_HOST=localhost REDIS_TIMESERIES_VERSION=edge
11
+
12
+ jobs :
13
+ allow_failures :
14
+ - env : REDIS_HOST=localhost REDIS_TIMESERIES_VERSION=edge
10
15
11
16
services :
12
17
- docker
13
18
14
19
before_install :
15
- - docker pull redislabs/redistimeseries:1.2.1
16
- - docker run -d -p 127.0.0.1:6379:6379 --name redis redislabs/redistimeseries:1.2.1
20
+ - docker pull redislabs/redistimeseries:$REDIS_TIMESERIES_VERSION
21
+ - docker run -d -p 127.0.0.1:6379:6379 --name redis redislabs/redistimeseries:$REDIS_TIMESERIES_VERSION
17
22
- yes | pecl install igbinary redis || true
18
23
- echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
19
24
20
25
before_script :
21
26
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
22
27
- chmod +x ./cc-test-reporter
23
- - if [ $(phpenv version-name) = "7.4" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter before-build; fi
28
+ - if [ $(phpenv version-name) = "7.4" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$REDIS_TIMESERIES_VERSION" == "1.2.2" ] ; then ./cc-test-reporter before-build; fi
24
29
25
30
script :
26
31
- composer install
@@ -30,4 +35,4 @@ script:
30
35
after_script :
31
36
- docker stop redis
32
37
- docker rm redis
33
- - if [ $(phpenv version-name) = "7.4" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --coverage-input-type clover --id $CC_TEST_REPORTER_ID --exit-code $TRAVIS_TEST_RESULT; fi
38
+ - if [ $(phpenv version-name) = "7.4" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$REDIS_TIMESERIES_VERSION" == "1.2.2" ] ; then ./cc-test-reporter after-build --coverage-input-type clover --id $CC_TEST_REPORTER_ID --exit-code $TRAVIS_TEST_RESULT; fi
You can’t perform that action at this time.
0 commit comments