mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-13 15:18:41 +00:00
Use sudo
This commit is contained in:
parent
3dbd887702
commit
c44b9f0949
12
.travis.yml
12
.travis.yml
|
|
@ -1,11 +1,19 @@
|
||||||
language: php
|
language: php
|
||||||
|
sudo: required
|
||||||
php:
|
php:
|
||||||
- '7.2'
|
- '7.2'
|
||||||
- nightly
|
- nightly
|
||||||
services:
|
addons:
|
||||||
- mysql
|
apt:
|
||||||
|
sources:
|
||||||
|
- mysql-5.7-trusty
|
||||||
|
packages:
|
||||||
|
- mysql-server
|
||||||
|
- mysql-client
|
||||||
before_script:
|
before_script:
|
||||||
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('123456') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
|
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('123456') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
|
||||||
|
- sudo mysql_upgrade
|
||||||
|
- sudo service mysql restart
|
||||||
- pecl install ast
|
- pecl install ast
|
||||||
- composer install
|
- composer install
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user