forked from sailshq/machinepack-mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (39 loc) · 1.71 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# ╔╦╗╦═╗╔═╗╦ ╦╦╔═╗ ┬ ┬┌┬┐┬ #
# ║ ╠╦╝╠═╣╚╗╔╝║╚═╗ └┬┘││││ #
# 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:
- "10"
- "12"
- "14"
- "16"
branches:
only:
- master
notifications:
email:
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# ╔═╗╦ ╦╔═╗╔╦╗╔═╗╔╦╗┬┌─┐┌─┐┌┬┐┬┌─┐┌┐┌┌─┐ #
# ║ ║ ║╚═╗ ║ ║ ║║║║│┌─┘├─┤ │ ││ ││││└─┐ #
# ╚═╝╚═╝╚═╝ ╩ ╚═╝╩ ╩┴└─┘┴ ┴ ┴ ┴└─┘┘└┘└─┘ #
# #
# 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