mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-15 16:17:58 +00:00
testing dev build
This commit is contained in:
parent
eca71ac938
commit
0fe0bcf915
2 changed files with 5 additions and 5 deletions
|
@ -20,20 +20,20 @@ cd $BUILD_DIR
|
|||
git checkout gh-pages
|
||||
|
||||
# generate a new build
|
||||
gulp build
|
||||
# gulp build
|
||||
|
||||
# push to the appropriate location
|
||||
if [ "$TRAVIS" = "true" ]; then
|
||||
if [ "$TRAVIS_BRANCH" = "travis" ]; then
|
||||
if [ "$TRAVIS_BRANCH" = "dev" ]; then
|
||||
|
||||
# dev builds go into the dev folder
|
||||
mkdir $BUILD_DIR/test/
|
||||
cp -rf $TONE_DIR/build/{Tone.js,Tone.min.js} $BUILD_DIR/test/
|
||||
cp $TONE_DIR/build/{Tone.js,Tone.min.js} $BUILD_DIR/test/
|
||||
|
||||
elif [ "$TRAVIS_BRANCH" = "master" ]; then
|
||||
|
||||
# master builds are on the root level folder
|
||||
cp -rf $TONE_DIR/build/{Tone.js,Tone.min.js} $BUILD_DIR/
|
||||
cp $TONE_DIR/build/{Tone.js,Tone.min.js} $BUILD_DIR/
|
||||
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -6,7 +6,7 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
|
|||
sh push_build.sh
|
||||
|
||||
# update the site
|
||||
sh update_site.sh
|
||||
# sh update_site.sh
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue