loopback-connector-mysql/.travis.yml

22 lines
701 B
YAML
Raw Normal View History

2012-12-14 14:01:44 +00:00
language: node_js
node_js:
2019-04-18 02:31:37 +00:00
- "6"
- "8"
- "10"
# Xenial build environment comes with MySQL 5.7
dist: xenial
services:
- mysql
env:
global:
- MYSQL_HOST=localhost
- MYSQL_PORT=3306
- MYSQL_USER=test
- MYSQL_PASSWORD=test
before_install:
- mysql -u root -e "CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
- mysql -e "use mysql; update user set authentication_string=PASSWORD('test') where User='test'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'test'@'localhost' WITH GRANT OPTION;FLUSH PRIVILEGES;"
- mysql -e "GRANT SUPER ON *.* TO 'test'@'localhost' IDENTIFIED BY 'test';FLUSH PRIVILEGES;"