Skip to content

Commit

Permalink
test ajv against dependents: ajv-keywords and webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Feb 21, 2019
1 parent c52f2e1 commit 4abdcdd
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -12,6 +12,7 @@ after_script:
- coveralls < coverage/lcov.info
- scripts/travis-gh-pages
- scripts/publish-built-version
- scripts/test-deps-release
notifications:
webhooks:
urls:
Expand Down
28 changes: 28 additions & 0 deletions scripts/test-deps-release
@@ -0,0 +1,28 @@
#!/usr/bin/env bash

set -e

if [[ "$TRAVIS_BRANCH" == "test-dependents" && $TRAVIS_JOB_NUMBER =~ ".4" ]]; then
yarn unlink
yarn link

cd ..
rm -rf test-deps
mkdir test-deps
cd test-deps

echo "Testing ajv-keywords"
git clone -b master --single-branch https://${GITHUB_TOKEN}@github.com/epoberezkin/ajv-keywords.git ajv-keywords
cd ajv-keywords
yarn install
yarn link ajv
yarn test

cd ..
echo "Testing webpack"
git clone -b master --single-branch https://${GITHUB_TOKEN}@github.com/webpack/webpack.git webpack
cd webpack
yarn install
yarn link ajv
yarn travis:basic
fi

0 comments on commit 4abdcdd

Please sign in to comment.