Update .travis.yml and composer.json

This commit is contained in:
DariusIII
2017-07-19 08:56:07 +02:00
parent 8ff628d470
commit 3d1df59d76
2 changed files with 7 additions and 9 deletions
+5 -5
View File
@@ -32,6 +32,11 @@ addons:
before_install:
- composer validate
install:
- yes '' | pecl install imagick
# Install composer packages.
- composer install --prefer-dist
before_script:
# Create mysql database and user.
- mysql -u root -e "SET GLOBAL innodb_file_per_table = 1;"
@@ -54,10 +59,5 @@ before_script:
# Configure environment settings
- cp .env.travis .env
install:
- yes '' | pecl install imagick
# Install composer packages.
- composer install --prefer-dist
script:
phpunit
+2 -4
View File
@@ -154,12 +154,10 @@
],
"post-install-cmd": [
"nntmux\\build\\ComposerScripts::postInstall",
"nntmux\\build\\ComposerScripts::postInstallCmd",
"php tmux optimize"
"nntmux\\build\\ComposerScripts::postInstallCmd"
],
"post-update-cmd": [
"nntmux\\build\\ComposerScripts::postUpdate",
"php tmux optimize"
"nntmux\\build\\ComposerScripts::postUpdate"
]
},
"suggest": {