mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
20 lines
513 B
YAML
20 lines
513 B
YAML
language: node_js
|
|
|
|
node_js:
|
|
- "8"
|
|
|
|
services:
|
|
- mysql
|
|
|
|
before_install:
|
|
- mysql -u root -e 'create database test_frappejs'
|
|
- echo "USE mysql;\nCREATE USER 'test_frappejs'@'localhost' IDENTIFIED BY 'test_frappejs';\nFLUSH PRIVILEGES;\n"
|
|
- echo "USE mysql;\nGRANT ALL PRIVILEGES ON \`test_frappejs\`.* TO 'test_frappejs'@'localhost';\n"
|
|
- "git clone https://github.com/frappe/frappejs && cd frappejs"
|
|
- "npm install -g yarn"
|
|
- "yarn"
|
|
|
|
script:
|
|
- "yarn link && yarn link frappejs"
|
|
- "yarn run test"
|