2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 23:30:56 +00:00

chore: Cleanup travis

This commit is contained in:
Faris Ansari 2019-12-10 01:37:29 +05:30
parent b5bd5c9e77
commit 49f8f96766

View File

@ -1,19 +1,10 @@
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"
- 8
script:
- "yarn link && yarn link frappejs"
- "yarn run test"
- yarn
- yarn link
- yarn link frappejs
- yarn test