Skip to content

Commit

Permalink
travis plugin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed May 10, 2020
1 parent d241584 commit 929a159
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ script:
- rm -rf node_modules
- npm ci --only=production
- ./test/smoke-test.sh
- ./test/entity-test.sh
- ./test/joi-test.sh


13 changes: 13 additions & 0 deletions test/entity-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

# Validates seneca master against seneca-entity
# Run from project root

rm -rf seneca-entity-test
git clone --depth 1 https://github.com/senecajs/seneca-entity seneca-entity-test
cd seneca-entity-test
npm ci
rm -rf node_modules/seneca
ln -s ../.. node_modules/seneca
npm test


13 changes: 13 additions & 0 deletions test/joi-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

# Validates seneca master against seneca-joi
# Run from project root

rm -rf seneca-joi-test
git clone --depth 1 https://github.com/senecajs/seneca-joi seneca-joi-test
cd seneca-joi-test
npm ci
rm -rf node_modules/seneca
ln -s ../.. node_modules/seneca
npm test


1 change: 1 addition & 0 deletions test/smoke-test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

# Validates seneca production install
# Run from project root

rm -rf smoke-test
Expand Down

0 comments on commit 929a159

Please sign in to comment.