File: /var/dev/nowruzgan/rest/node_modules/machinepack-mysql/.travis.yml
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# ╔╦╗╦═╗╔═╗╦ ╦╦╔═╗ ┬ ┬┌┬┐┬ #
# ║ ╠╦╝╠═╣╚╗╔╝║╚═╗ └┬┘││││ #
# o ╩ ╩╚═╩ ╩ ╚╝ ╩╚═╝o ┴ ┴ ┴┴─┘ #
# #
# This file configures Travis CI. #
# (i.e. how we run the tests... mainly) #
# #
# https://docs.travis-ci.com/user/customizing-the-build #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
language: node_js
node_js:
- "4"
- "6"
- "8"
- "node"
branches:
only:
- master
notifications:
email:
- ci@sailsjs.com
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# ╔═╗╦ ╦╔═╗╔╦╗╔═╗╔╦╗┬┌─┐┌─┐┌┬┐┬┌─┐┌┐┌┌─┐ #
# ║ ║ ║╚═╗ ║ ║ ║║║║│┌─┘├─┤ │ ││ ││││└─┐ #
# ╚═╝╚═╝╚═╝ ╩ ╚═╝╩ ╩┴└─┘┴ ┴ ┴ ┴└─┘┘└┘└─┘ #
# #
# Custom stuff specific to this package: #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
sudo: false
services:
- mysql
env:
- DB_USER=mp DB_PASS='mp'
before_script:
- mysql -e 'create database mppg;'
- mysql -e "create user 'mp'@'localhost' identified by 'mp';"
- mysql -e "grant all privileges on * . * to 'mp'@'localhost';" -u root
- mysql -e "flush privileges;" -u root