forked from TechnicPack/TechnicSolder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 759 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
os: linux
dist: bionic
branches:
except:
- /^legacy\/.*$/
- heroku
language: php
cache:
directories:
- $HOME/.composer/cache
php:
- 7.2
- 7.3
- 7.4
env:
global:
- SOLDER_REPO_LOCATION="$TRAVIS_BUILD_DIR/public/resources/default/"
- SOLDER_MIRROR_URL="http://mirror.technicpack.net/Technic/"
- REPO_TYPE="local"
before_install:
- echo $REPO
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- composer self-update
install: COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --prefer-source --no-interaction
before_script:
- cp .env.testing .env
- php artisan key:generate
script: vendor/bin/phpunit