2
0
mirror of https://github.com/frappe/books.git synced 2025-01-23 15:18:24 +00:00
books/.travis.yml

20 lines
513 B
YAML
Raw Normal View History

2018-02-01 15:34:20 +05:30
language: node_js
node_js:
2018-02-01 15:59:46 +05:30
- "8"
2018-02-01 15:34:20 +05:30
2018-02-08 16:27:34 +05:30
services:
- mysql
2018-02-01 18:16:27 +05:30
before_install:
2018-02-08 21:18:58 +05:30
- mysql -u root -e 'create database test_frappejs'
2018-02-08 21:22:07 +05:30
- 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"
2018-02-01 15:34:20 +05:30
- "git clone https://github.com/frappe/frappejs && cd frappejs"
- "npm install -g yarn"
2018-02-01 15:47:25 +05:30
- "yarn"
2018-02-01 15:34:20 +05:30
script:
2018-02-01 18:16:27 +05:30
- "yarn link && yarn link frappejs"
- "yarn run test"