Use develop branch of Rain library in Travis CI

This commit is contained in:
Ben Thomson 2019-09-20 08:21:32 +08:00
parent 7e6c1aed84
commit bbdad61555
No known key found for this signature in database
GPG Key ID: B2BAFACC5ED68F87
1 changed files with 10 additions and 3 deletions

View File

@ -20,9 +20,16 @@ cache:
- $HOME/.composer/cache/files
install:
- travis_retry composer install --no-interaction --no-progress --no-suggest
before_script: git reset --hard HEAD
- composer install --no-interaction --no-progress --no-suggest
# Reset October modules back to Git source
- git reset --hard HEAD
# Replace October library with `develop` branch
- rm -rf ./vendor/october/rain
- wget https://github.com/octobercms/library/archive/develop.zip -O ./vendor/october/develop.zip
- unzip ./vendor/october/develop.zip
- mv ./vendor/october/library-develop ./vendor/october/rain
# Dump autoload
- composer dump-autoload
stages:
- test