diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..dba0355 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: bash +before_script: + - curl -o /tmp/urchin https://raw.github.com/scraperwiki/urchin/master/urchin && chmod +x /tmp/urchin +script: + - NVM_DIR=$TRAVIS_BUILD_DIR /tmp/urchin test \ No newline at end of file diff --git "a/test/fast/Running \"nvm alias\" should create a file in the alias directory." "b/test/fast/Running \"nvm alias\" should create a file in the alias directory." index 0ac4eb2..38ba260 100755 --- "a/test/fast/Running \"nvm alias\" should create a file in the alias directory." +++ "b/test/fast/Running \"nvm alias\" should create a file in the alias directory." @@ -2,4 +2,4 @@ . ../../nvm.sh nvm alias test v0.1.2 -[ $(cat ../../alias/test) = 'v0.1.2' ] +[ "$(cat ../../alias/test)" = "v0.1.2" ] diff --git a/test/fast/teardown_dir b/test/fast/teardown_dir index 1e6d005..065269a 100755 --- a/test/fast/teardown_dir +++ b/test/fast/teardown_dir @@ -6,7 +6,7 @@ # Restore if [ -d bak ] then - mv bak/* . || sleep 0s + mv bak/* . > /dev/null 2>&1 || sleep 0s rmdir bak fi mkdir -p src alias