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: 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
View File
@@ -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": {