Skip to content

Commit

Permalink
ci: run tests in each package
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed May 12, 2018
1 parent 4c40ac3 commit 156a665
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 341 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ lib
# dependencies bundled but the npm lockfile is not needed
# because pnpm use pnpm for installation
package-lock.json

__package_previews__
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ before_install:
- pnpm i -g pnpm@next
- pnpm -v
install:
- pnpm i --frozen-shrinkwrap --no-lock
- pnpm recursive link --no-lock
script:
- /bin/bash lint-commits.sh
- ./node_modules/.bin/commitlint --from=$TRAVIS_COMMIT
- npm t
- npm t --prefix packages/supi
- npm t --prefix packages/pnpm
env:
global:
- CC=clang CXX=clang++ npm_config_clang=1
Expand Down
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ install:
# Testing whether pnpm can upgrade itself
- pnpm i -g pnpm@next
- pnpm -v
- pnpm install --frozen-shrinkwrap --no-lock
- pnpm recursive link --no-lock
matrix:
fast_finish: true
build: off
version: '{build}'
test_script:
- node --version
- npm --version
- npm t
- npm t --prefix packages/supi
- npm t --prefix packages/pnpm
skip_tags: true
Loading

0 comments on commit 156a665

Please sign in to comment.