-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial tests and move around * only build master branch * support testing multiple versions of react in jest/enzyme * add more tests, run multiple react versions in ci * add more tests * fix test with workaround * add more proptype tests * move danger to ci script
- Loading branch information
Showing
9 changed files
with
3,077 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
language: node_js | ||
node_js: "stable" | ||
branches: | ||
only: | ||
- master | ||
|
||
before_install: | ||
- "stty cols 80" | ||
- "export SAUCE_JOB=react-tether" | ||
- "export SAUCE_BUILD=$TRAVIS_COMMIT" | ||
|
||
before_script: | ||
- npm run danger | ||
script: | ||
- ./bin/test |
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,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
npm run danger | ||
|
||
npm run react:15 | ||
npm run unit | ||
|
||
npm run react:16 | ||
npm run unit | ||
|
||
if [ -z "$SAUCE_USERNAME" ] && [ -z "$SAUCE_ACCESS_KEY"]; then | ||
echo | ||
echo "ATTENTION" | ||
echo "Skipping E2E tests because the environment variables are not set!" | ||
else | ||
npm run e2e:full | ||
fi |
Oops, something went wrong.