Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test ajv against dependents: ajv-keywords and webpack
- Loading branch information
1 parent
c52f2e1
commit 4abdcdd
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |