-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into constant-objects
- Loading branch information
Showing
3 changed files
with
35 additions
and
4 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,7 +1,14 @@ | ||
language: node_js | ||
|
||
services: | ||
- postgresql | ||
|
||
node_js: | ||
- "6" | ||
|
||
script: | ||
- npm test | ||
- ./run-courtbot-cucumber travis | ||
|
||
after_success: | ||
- npm run coverage |
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,24 @@ | ||
#!/bin/bash | ||
if [ $# -eq 0 ] | ||
then | ||
echo "Continuing execution even if command fails..." | ||
set -v | ||
else | ||
echo "Running in travis mode..." | ||
set -ev | ||
fi | ||
npm run build | ||
|
||
rm *.tgz || echo "NO files to clean up" | ||
npm pack | ||
TGZ_FILE=$(ls *.tgz) | ||
|
||
git clone https://github.com/codefortulsa/courtbot.git | ||
|
||
pushd courtbot | ||
npm install | ||
npm install ../$TGZ_FILE | ||
./run-cucumber "$@" | ||
popd | ||
rm *.tgz | ||
rm -rf courtbot |
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