-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #359 from apiaryio/honzajavorek/run-testsuites-of-…
…hooks-with-every-release Run dependent integration builds on every release
- Loading branch information
Showing
11 changed files
with
381 additions
and
43 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,22 +1,21 @@ | ||
sudo: required | ||
dist: trusty | ||
|
||
language: node_js | ||
|
||
sudo: "required" | ||
dist: "trusty" | ||
language: "node_js" | ||
env: | ||
global: | ||
- secure: "STxhfQh/AHeyRJgErinjZrjnJDChHKLctjqAUDwiIWcZZonopfB8DNp6DgcCHj6FPCTfcHeWdjQjvOiC6ZZugMcMUwzhi+PdDR4kDVP3GoeaMcKC2ckkdjapcA+mnmJDLF35FjhK6PvR1zpRbwlwiYpIayKHEjdgEzna3RmfRH8=" | ||
node_js: | ||
- "0.10" | ||
- "0.12" | ||
- "iojs-v2.5.0" | ||
- "4" | ||
- "5" | ||
|
||
notifications: | ||
email: | ||
recipients: | ||
- adam@apiary.io | ||
- kubula@apiary.io | ||
on_success: change | ||
on_failure: always | ||
|
||
before_install: | ||
- "gem install travis" | ||
before_script: | ||
- "npm run lint" | ||
script: | ||
- "npm test" | ||
- "npm run test:hook-handlers" | ||
after_success: | ||
- ./scripts/coveralls | ||
- "npm run coveralls" |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/bin/sh | ||
# Saves HTML coverage report | ||
|
||
./scripts/cov html-cov > cov.html |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,5 +1,11 @@ | ||
#!/bin/sh | ||
./scripts/build | ||
./scripts/mocha 2>&1 | ||
# Runs tests. All arguments given to this script will be passed to mocha. | ||
|
||
MOCHA=./node_modules/.bin/mocha | ||
|
||
find ./test/ -name '*-test.coffee' | xargs "$MOCHA" \ | ||
--compilers 'coffee:coffee-script/register' \ | ||
--reporter spec \ | ||
--timeout 120000 \ | ||
--recursive \ | ||
"$@" |
Oops, something went wrong.