Permalink
Browse files

New travis build info

  • Loading branch information...
1 parent 34acb70 commit 7bbaee6d3874aa566edd0040ca467d09bef94433 @davglass davglass committed Nov 8, 2012
Showing with 25 additions and 18 deletions.
  1. +8 −2 src/common/travis/before.sh
  2. +12 −12 src/common/travis/install.sh
  3. +5 −4 src/common/travis/test.sh
@@ -12,6 +12,12 @@ wait
if [ -n "$TRAVIS" ]; then
echo "Installing Shifter.."
npm -g install shifter -loglevel silent
+ echo "Installing Yogi"
+ npm -g install yogi -loglevel silent
+ cd ../
+ echo "building entire library";
+ shifter --walk --no-lint --cache
+ cd yui;
+else
+ make npm
fi
-
-make npm
@@ -4,23 +4,23 @@ echo "Starting install: `pwd`"
echo "User: $USER"
-if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then
- if [ -n "$TRAVIS_PULL_REQUEST_NUMBER" ]; then
- echo "--------------------------------------------"
- echo "This is a Pull Request build, fetching files"
- ./src/common/travis/get_pull_files.js
- if [[ $? != 0 ]] ; then
- exit 1
- fi
- echo "--------------------------------------------"
- fi
-fi
+#if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then
+# if [ -n "$TRAVIS_PULL_REQUEST_NUMBER" ]; then
+# echo "--------------------------------------------"
+# echo "This is a Pull Request build, fetching files"
+# ./src/common/travis/get_pull_files.js
+# if [[ $? != 0 ]] ; then
+# exit 1
+# fi
+# echo "--------------------------------------------"
+# fi
+#fi
cd ./build-npm;
echo "NPM Build Dir: `pwd`"
wait
echo "Installing NPM Modules"
-npm install -loglevel silent
+npm install -loglevel silent --production
wait
cd ../
@@ -5,7 +5,7 @@ root=`pwd`
cd ./build-npm/
npm_base=`pwd`
-yogi="${npm_base}/node_modules/.bin/yogi"
+yogi=`which yogi`
echo "Build Root: ${root}"
echo "NPM Base: ${npm_base}"
@@ -20,11 +20,12 @@ con=""
timeout=""
cli=""
extra=""
+
if [ -n "$TRAVIS" ]; then
- con="-c 5 "
- timeout="-t 400 "
+ con="-c 8 "
+ timeout="-t 500 "
if [ "${TRAVIS_NODE_VERSION}" = "0.8" ]; then
- extra="-x editor -x yui-throttle -x scrollview --filter min"
+ extra="-x editor -x yui-throttle"
else
echo "Skipping Grover tests for this Node version (not needed)"
extra="--cli "

0 comments on commit 7bbaee6

Please sign in to comment.