Skip to content

Commit

Permalink
build: fix travis script to allow tsc -b
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondfeng committed Apr 20, 2020
1 parent 485ff0b commit e5560f2
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -80,17 +78,15 @@ 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:
- TASK=test-repository-cloudant
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"
Expand All @@ -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:
Expand Down

0 comments on commit e5560f2

Please sign in to comment.