mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Update .travis.yml and composer.json
This commit is contained in:
+5
-5
@@ -32,6 +32,11 @@ addons:
|
|||||||
before_install:
|
before_install:
|
||||||
- composer validate
|
- composer validate
|
||||||
|
|
||||||
|
install:
|
||||||
|
- yes '' | pecl install imagick
|
||||||
|
# Install composer packages.
|
||||||
|
- composer install --prefer-dist
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
# Create mysql database and user.
|
# Create mysql database and user.
|
||||||
- mysql -u root -e "SET GLOBAL innodb_file_per_table = 1;"
|
- mysql -u root -e "SET GLOBAL innodb_file_per_table = 1;"
|
||||||
@@ -54,10 +59,5 @@ before_script:
|
|||||||
# Configure environment settings
|
# Configure environment settings
|
||||||
- cp .env.travis .env
|
- cp .env.travis .env
|
||||||
|
|
||||||
install:
|
|
||||||
- yes '' | pecl install imagick
|
|
||||||
# Install composer packages.
|
|
||||||
- composer install --prefer-dist
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
phpunit
|
phpunit
|
||||||
|
|||||||
+2
-4
@@ -154,12 +154,10 @@
|
|||||||
],
|
],
|
||||||
"post-install-cmd": [
|
"post-install-cmd": [
|
||||||
"nntmux\\build\\ComposerScripts::postInstall",
|
"nntmux\\build\\ComposerScripts::postInstall",
|
||||||
"nntmux\\build\\ComposerScripts::postInstallCmd",
|
"nntmux\\build\\ComposerScripts::postInstallCmd"
|
||||||
"php tmux optimize"
|
|
||||||
],
|
],
|
||||||
"post-update-cmd": [
|
"post-update-cmd": [
|
||||||
"nntmux\\build\\ComposerScripts::postUpdate",
|
"nntmux\\build\\ComposerScripts::postUpdate"
|
||||||
"php tmux optimize"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
|||||||
Reference in New Issue
Block a user