-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (20 loc) · 641 Bytes
/
.travis.yml
File metadata and controls
26 lines (20 loc) · 641 Bytes
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
language: php
sudo: false
dist: trusty
php:
- 7.3
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.3
fast_finish: true
before_script:
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- if [ "$deps" == "low" ]; then composer update --prefer-dist --prefer-lowest --prefer-stable; fi
- if [ "$deps" != "low" ]; then composer install --prefer-dist; fi
- php -r "copy('.env.example', '.env');"
- php jarvis key
script: php jarvis