不要怂,就是干,撸起袖子干!

Commit 5ddbe47c by Sascha Depold

separated builds for each dialect

1 parent a59c409e
Showing with 6 additions and 2 deletions
...@@ -3,14 +3,17 @@ before_script: ...@@ -3,14 +3,17 @@ before_script:
- "psql -c 'create database sequelize_test;' -U postgres" - "psql -c 'create database sequelize_test;' -U postgres"
script: script:
- "npm test" - "npm run test-buster-travis"
- "npm run test-jasmine"
notifications: notifications:
email: email:
- sascha@depold.com - sascha@depold.com
env: env:
- DB=mysql - DB=mysql DIALECT=mysql
- DB=mysql DIALECT=postgres
- DB=mysql DIALECT=sqlite
language: node_js language: node_js
......
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
"test": "npm run test-jasmine && npm run test-buster", "test": "npm run test-jasmine && npm run test-buster",
"test-jasmine": "./node_modules/.bin/jasmine-node spec-jasmine/", "test-jasmine": "./node_modules/.bin/jasmine-node spec-jasmine/",
"test-buster": "npm run test-buster-mysql && npm run test-buster-postgres && npm run test-buster-sqlite", "test-buster": "npm run test-buster-mysql && npm run test-buster-postgres && npm run test-buster-sqlite",
"test-buster-travis": "./node_modules/.bin/buster-test",
"test-buster-mysql": "DIALECT=mysql ./node_modules/.bin/buster-test", "test-buster-mysql": "DIALECT=mysql ./node_modules/.bin/buster-test",
"test-buster-postgres": "DIALECT=postgres ./node_modules/.bin/buster-test", "test-buster-postgres": "DIALECT=postgres ./node_modules/.bin/buster-test",
"test-buster-sqlite": "DIALECT=sqlite ./node_modules/.bin/buster-test", "test-buster-sqlite": "DIALECT=sqlite ./node_modules/.bin/buster-test",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!