Skip to content

Commit

Permalink
Setup build publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Nov 1, 2014
1 parent 25b7a7c commit 3ba6c19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ install:

script:
- npm test

after_success:
- "./bin/bower_build"
4 changes: 2 additions & 2 deletions bin/bower_build
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SRC_NAME="Ember QUnit"
USER="rwjblue"

# Ensure that no directories within dist will be copied when script is run.
INCLUDED_FILES=`find dist -maxdepth 1 -type f`
INCLUDED_FILES=`find build -maxdepth 1 -type f`

echo -e "SRC_REPO: ${SRC_REPO}\n"
echo -e "BUILDS_REPO: ${BUILDS_REPO}\n"
Expand All @@ -24,7 +24,7 @@ echo -e "CURRENT_BRANCH: ${TRAVIS_BRANCH}\n"
# Set channel to publish to. If no suitable branch is found exit successfully.
case $TRAVIS_BRANCH in
"master" )
CHANNEL="release" ;;
CHANNEL="canary" ;;
* )
echo "Not a bower release branch. Exiting!"
exit 0 ;;
Expand Down

0 comments on commit 3ba6c19

Please sign in to comment.