Skip to content

Commit

Permalink
test: try travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Agnes Lin committed Nov 15, 2019
1 parent de3505c commit aec5e27
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ script:
- npm run test:ci

env: TASK=test
install: npm ci --ignore-scripts
install: npm ci --ignore-scripts && npm run docker:setup && source cloudant-config.sh && pwd

after_success:
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]] && [[ $(echo $TRAVIS_NODE_VERSION | cut -d'.' -f1) == "10" ]]; then npm run coverage:ci; fi
Expand Down Expand Up @@ -84,15 +84,14 @@ matrix:
os: linux
env:
- TASK=test-repository-cloudant
install:
- rm -rf node_modules && yarn cache clean
- npm ci --ignore-scripts && npm run docker:setup && source cloudant-config.sh && pwd
# install:
# - rm -rf node_modules && yarn cache clean
# - npm ci --ignore-scripts && npm run docker:setup && source cloudant-config.sh && pwd

before_script:
- npm run postinstall -- --scope "@loopback/test-repository-cloudant" --include-dependencies
- npm run build -- --scope "@loopback/test-repository-cloudant" --include-dependencies
script:
- source cloudant-config.sh
- npm run postinstall -- --scope "@loopback/test-repository-cloudant" --include-dependencies
- npm run build -- --scope "@loopback/test-repository-cloudant" --include-dependencies
- cd acceptance/repository-cloudant && npm run mocha

branches:
Expand Down

0 comments on commit aec5e27

Please sign in to comment.