Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

New travis build info

  • Loading branch information...
commit 7bbaee6d3874aa566edd0040ca467d09bef94433 1 parent 34acb70
Dav Glass davglass authored
10 src/common/travis/before.sh
View
@@ -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
24 src/common/travis/install.sh
View
@@ -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 ../
9 src/common/travis/test.sh
View
@@ -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 "
Please sign in to comment.
Something went wrong with that request. Please try again.