diff --git a/.travis.yml b/.travis.yml index 2e40196e1828..dfd52e20f04c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,8 +52,7 @@ matrix: - mongodb script: - npm run postinstall -- --scope "@loopback/test-repository-mongodb" --include-dependencies - - npm run build -- --scope "@loopback/test-repository-mongodb" --include-dependencies - - cd acceptance/repository-mongodb && npm run mocha + - cd acceptance/repository-mongodb && npm test - node_js: "12" os: linux env: @@ -69,8 +68,7 @@ matrix: - mysql -e "GRANT SUPER ON *.* TO 'test'@'localhost' IDENTIFIED BY 'test';FLUSH PRIVILEGES;" script: - npm run postinstall -- --scope "@loopback/test-repository-mysql" --include-dependencies - - npm run build -- --scope "@loopback/test-repository-mysql" --include-dependencies - - cd acceptance/repository-mysql && npm run mocha + - cd acceptance/repository-mysql && npm test - node_js: "12" os: linux env: @@ -80,9 +78,8 @@ matrix: - postgresql script: - npm run postinstall -- --scope "@loopback/test-repository-postgresql" --include-dependencies - - npm run build -- --scope "@loopback/test-repository-postgresql" --include-dependencies - psql -U postgres -a -f acceptance/repository-postgresql/test/schema.sql - - cd acceptance/repository-postgresql && npm run mocha + - cd acceptance/repository-postgresql && npm test - node_js: "12" os: linux env: @@ -90,7 +87,6 @@ matrix: script: # set up docker image and create admin for cloudant. - npm run postinstall -- --scope "@loopback/test-repository-cloudant" --include-dependencies - - npm run build -- --scope "@loopback/test-repository-cloudant" --include-dependencies - cd acceptance/repository-cloudant && sh setup.sh - npm test - node_js: "12" @@ -101,8 +97,7 @@ matrix: - docker script: - npm run postinstall -- --scope "@loopback/test-extension-logging-fluentd" --include-dependencies - - npm run build -- --scope "@loopback/test-extension-logging-fluentd" --include-dependencies - - cd acceptance/extension-logging-fluentd && npm run mocha + - cd acceptance/extension-logging-fluentd && npm test branches: only: