123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
- # ╔╦╗╦═╗╔═╗╦ ╦╦╔═╗ ┬ ┬┌┬┐┬ #
- # ║ ╠╦╝╠═╣╚╗╔╝║╚═╗ └┬┘││││ #
- # 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
|