-
Notifications
You must be signed in to change notification settings - Fork 75
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 #22 from ahezard/card
Merge stable card build
- Loading branch information
Showing
3 changed files
with
102 additions
and
73 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 |
---|---|---|
|
@@ -29,10 +29,11 @@ addons: | |
|
||
after_success: | ||
- > | ||
if [ "$TRAVIS_BRANCH" == "master" ]; then | ||
if [ "$TRAVIS_BRANCH" == "master" ] || [ "$TRAVIS_BRANCH" == "card" ]; then | ||
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`" | ||
GITREV="`git show -s --format='%h'`" | ||
REV_NAME="bootstrap-dldi-${GITDATE}-${GITREV}.nds" | ||
REV_NAME="bootstrap-${TRAVIS_BRANCH}-${GITDATE}-${GITREV}.nds" | ||
cp bootstrap-dldi.nds $REV_NAME | ||
lftp -c "open -u nds-bootstrap,$BUILD_PASSWORD sftp://joshuadoes.com; put -O ' /home/nds-bootstrap' '${REV_NAME}'" | ||
lftp ftp://nds-bootstrap:[email protected] -e "set net:timeout 5; set net:max-retries 2; cd files; put ${REV_NAME}; bye" | ||
lftp sftp://twlbuild:[email protected] -e "set net:timeout 5; set net:max-retries 2; cd files; put ${REV_NAME}; bye" | ||
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
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