quaerateum
Version:
Simple typescript ORM for node.js based on data-mapper, unit-of-work and identity-map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JS.
36 lines (28 loc) • 709 B
YAML
language: node_js
dist: xenial
node_js:
- '8'
- '9'
- '10'
- 'node'
services:
- mongodb
- mysql
- postgresql
cache:
directories:
- 'node_modules'
script:
- yarn lint
- ORM_PARALLEL=1 ORM_PORT=3306 yarn coverage
before_install:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
- yarn config set ignore-engines true
before_script:
- mysql -u root -e 'CREATE DATABASE mikro_orm_test;'
- psql -c 'CREATE DATABASE mikro_orm_test;' -U postgres
after_success:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- yarn coveralls