forked from winsleague/winsleague
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/176 chimp ci optimization (winsleague#181)
* moved chimp installation to one VM only because it's not needed for the other * remove debug on deploy because it prints out keys * chmod +x
- Loading branch information
Showing
4 changed files
with
9 additions
and
5 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 |
---|---|---|
|
@@ -2,9 +2,6 @@ | |
echo "Pruning …" | ||
meteor npm prune | ||
|
||
echo "Installing Chimp …" | ||
if [ ! -e /home/ubuntu/nvm/versions/node/v5.2.0/lib/node_modules/chimp/bin/chimp.js ]; then npm install -g [email protected]; fi | ||
|
||
# Disabled while we use the forked Spacejam in package.json (needed to instrument coverage) | ||
# echo "Installing Spacejam …" | ||
# if [ ! -e /home/ubuntu/nvm/versions/node/v5.2.0/lib/node_modules/spacejam/bin/spacejam ]; then npm install -g spacejam; fi | ||
|
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,2 @@ | ||
echo "Installing Chimp …" | ||
if [ ! -e /home/ubuntu/nvm/versions/node/v5.2.0/lib/node_modules/chimp/bin/chimp.js ]; then npm install -g [email protected]; fi |
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,5 @@ | ||
mkdir .coverage | ||
|
||
meteor npm run test | ||
|
||
meteor npm run test-app |
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 |
---|---|---|
|
@@ -34,7 +34,7 @@ checkout: | |
|
||
test: | ||
override: | ||
- case $CIRCLE_NODE_INDEX in 0) (cd app; mkdir .coverage; meteor npm run test; meteor npm run test-app) ;; 1) (cd app; ./tests/acceptance_run) ;; esac: | ||
- case $CIRCLE_NODE_INDEX in 0) (cd app; ./.testing/unit_and_full_app_run.sh) ;; 1) (cd app; ./.testing/install_chimp.sh; ./tests/acceptance_run) ;; esac: | ||
parallel: true | ||
|
||
deployment: | ||
|
@@ -51,7 +51,7 @@ deployment: | |
|
||
# Deploy | ||
- npm install -g [email protected] # install meteor-up for deployment | ||
- (cd .deploy/production; DEBUG=* mup deploy) | ||
- (cd .deploy/production; mup deploy) | ||
|
||
# Notify Rollbar about deploy | ||
- curl https://api.rollbar.com/api/1/deploy/ -F access_token=$ROLLBAR_SERVER_ACCESS_TOKEN -F environment=production -F revision=$CIRCLE_SHA1 -F local_username=$CIRCLE_USERNAME |