Skip to content

Commit

Permalink
update test-travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Chapiewsky committed Dec 18, 2015
1 parent f3c1aa6 commit fba72cc
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions tools/test-travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,7 @@ export PATH=$(pwd)/bin:$PATH
export ALT_FFMPEG_PATH=$(pwd)/ffmpeg
export ALT_FFPROBE_PATH=$(pwd)/ffprobe

if [ -z "$(which flvtool2)" ]; then
export FLVTOOL2_PRESENT=no
else
export FLVTOOL2_PRESENT=yes
fi

echo travis_fold:end:Dependencies

# Install nvm if needed

echo travis_fold:start:nvm

if [ ! -d ~/.nvm ]; then
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.6.1/install.sh | sh
fi
source ~/.nvm/nvm.sh
nvm install $NODE_VERSION

echo travis_fold:end:nvm

# Print versions

echo travis_fold:start:Versions

echo "node version: $(node --version)"
echo "npm version: $(npm --version)"
echo "ffmpeg version: $(ffmpeg -version)"

echo travis_fold:end:Versions

# Install dependencies
echo travis_fold:start:npm-install

npm install

echo travis_fold:end:npm-install

# Run tests
npm test

0 comments on commit fba72cc

Please sign in to comment.