-
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.
- Loading branch information
Showing
5 changed files
with
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
language: python | ||
python: | ||
- 2.7 | ||
branches: | ||
only: | ||
- master | ||
cache: | ||
directories: | ||
- $HOME/.cache/pip | ||
- $HOME/pygrow | ||
- $HOME/virtualenv | ||
env: | ||
global: | ||
- secure: "o0VA1qXI9ZWPwSRnMODjVPiVWtKF+4ZdimgFfYybbi7gIW0h5xboO/mBEnRLuUfCg3I2lx3SNpt7rxG/GDrwXtLEW1SPXJs4kRxfgWZZiwmWjBgF1PHjED2mw5uqbV9e/6b9OGzJ0uYzWH41Zjzcnv3BpZ/oWsCNTHub+SV9ycmg2ZgLEJNQKImGiKFRwLPnQQWeLcJChX2XdGH0oE+sXk0FtmSNzmoWBEpn8dG2UXSRcka4FvISsWU434hAUJsjzQCSVKey6ZlEvVNNIs77/i7Ba7LtvbObeJLrtp0ytSEO6rriFWN8K12DIdQxilPVrN+Lwx6+oSK1mqZFWjbtAiiMX137i2A934HqJH/L+2NrPKIWzyS4+ZHObwvaJHSahl4Z1htDWbmSRO4xwdIdo3/S8L9OpqB6wyJNZIVvF5tUqBtwNJ8fqYKG6ekzYh+GpAyfZ/oKIrZEAeMH2bHSGz8QF6JKLhoKbMQnpSPV32INl8kA67tY8Uf9UfrLQ0bn7cB2WHYFf+plCGZwaZUy8yWN+LY8AL3sG2hb2D597vCve252HYZazsunQTR3CMO4fWoZvS24XaGg73Av/WdHQicQnSGneVyhjsbmJpG97SN18fRptyyxy+e0Wl+AopQ9HEXSLHAzgAr+/wqsESWfl6aLBFO+wANgiqSvPp6NKeo=" | ||
install: | ||
- bash ./install-grow.sh | ||
- bash ./setup.sh | ||
- git clone https://[email protected]/stevenle/stevenle.github.io.git | ||
script: bash ./deploy-travis.sh |
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,16 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
grow deploy -f travis | ||
cd stevenle.github.io | ||
git config user.name "Travis CI" | ||
git config user.email "[email protected]" | ||
|
||
if [[ -z $(git status -s) ]]; then | ||
echo "No changes to commit" | ||
else | ||
git add . | ||
git commit -m "Auto deploy at rev=$TRAVIS_COMMIT" | ||
git push -u origin master | ||
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,11 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
if [ ! -d "$HOME/pygrow" ]; then | ||
git clone https://github.com/grow/pygrow.git $HOME/pygrow | ||
else | ||
git pull | ||
fi | ||
|
||
pip install $HOME/pygrow |
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,6 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
npm install | ||
bower install |