多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
561 B

language: node_js
node_js:
- 12
services:
- mysql
before_install:
- curl https://raw.githubusercontent.com/xgenecloud/xc-data/master/sakila-data.sql > sakila-data.sql
- curl https://raw.githubusercontent.com/xgenecloud/xc-data/master/sakila-schema.sql > sakila-schema.sql
- mysql -e 'CREATE DATABASE IF NOT EXISTS sakila;'
- mysql -u root --default-character-set=utf8 sakila < sakila-schema.sql
- mysql -u root --default-character-set=utf8 sakila < sakila-data.sql
install:
- npm install
- npm run lerna:install
script:
- npm run test:travis