Skip to content

Commit 8afd076

Browse files
committed
build: fix travis script to allow tsc -b
1 parent e902abf commit 8afd076

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

.travis.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ matrix:
5252
- mongodb
5353
script:
5454
- npm run postinstall -- --scope "@loopback/test-repository-mongodb" --include-dependencies
55-
- npm run build -- --scope "@loopback/test-repository-mongodb" --include-dependencies
56-
- cd acceptance/repository-mongodb && npm run mocha
55+
- cd acceptance/repository-mongodb && npm test
5756
- node_js: "12"
5857
os: linux
5958
env:
@@ -69,8 +68,7 @@ matrix:
6968
- mysql -e "GRANT SUPER ON *.* TO 'test'@'localhost' IDENTIFIED BY 'test';FLUSH PRIVILEGES;"
7069
script:
7170
- npm run postinstall -- --scope "@loopback/test-repository-mysql" --include-dependencies
72-
- npm run build -- --scope "@loopback/test-repository-mysql" --include-dependencies
73-
- cd acceptance/repository-mysql && npm run mocha
71+
- cd acceptance/repository-mysql && npm test
7472
- node_js: "12"
7573
os: linux
7674
env:
@@ -80,17 +78,15 @@ matrix:
8078
- postgresql
8179
script:
8280
- npm run postinstall -- --scope "@loopback/test-repository-postgresql" --include-dependencies
83-
- npm run build -- --scope "@loopback/test-repository-postgresql" --include-dependencies
8481
- psql -U postgres -a -f acceptance/repository-postgresql/test/schema.sql
85-
- cd acceptance/repository-postgresql && npm run mocha
82+
- cd acceptance/repository-postgresql && npm test
8683
- node_js: "12"
8784
os: linux
8885
env:
8986
- TASK=test-repository-cloudant
9087
script:
9188
# set up docker image and create admin for cloudant.
9289
- npm run postinstall -- --scope "@loopback/test-repository-cloudant" --include-dependencies
93-
- npm run build -- --scope "@loopback/test-repository-cloudant" --include-dependencies
9490
- cd acceptance/repository-cloudant && sh setup.sh
9591
- npm test
9692
- node_js: "12"
@@ -101,8 +97,7 @@ matrix:
10197
- docker
10298
script:
10399
- npm run postinstall -- --scope "@loopback/test-extension-logging-fluentd" --include-dependencies
104-
- npm run build -- --scope "@loopback/test-extension-logging-fluentd" --include-dependencies
105-
- cd acceptance/extension-logging-fluentd && npm run mocha
100+
- cd acceptance/extension-logging-fluentd && npm test
106101

107102
branches:
108103
only:

0 commit comments

Comments
 (0)