Created
June 21, 2018 15:05
-
-
Save dolph/7e52aec97147c0ba7d70c2acc6f17366 to your computer and use it in GitHub Desktop.
ML4K Travis configuration draft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: node_js | |
node_js: | |
- "8.10" | |
services: | |
- mysql | |
before_install: | |
- npm install -g typescript | |
- npm install -g tslint | |
- npm install -g tslint-eslint-rules | |
- npm install -g mocha | |
- mysql -e 'CREATE DATABASE IF NOT EXISTS mlforkidsdb;' | |
- mysql < sql/tables.sql | |
env: | |
- MYSQLUSER=root | |
- MYSQLPASSWORD= | |
- MYSQLDATABASE=mlforkidsdb | |
script: | |
- tslint -c tslint.json 'src/**/*.ts' | |
- npm install | |
- npm test | |
- tsc -p tsconfig.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment