Change before_script to the more appropriate before_install in .travis.yml.

This commit is contained in:
John-David Dalton
2013-09-29 20:21:45 -07:00
parent 6d3c492518
commit 912d5c700c

View File

@@ -39,7 +39,7 @@ git:
branches:
only:
- master
before_script:
before_install:
- "[ $BIN == 'istanbul' ] && npm install -g istanbul || true"
- "[ $BIN == 'narwhal' ] && wget https://github.com/280north/narwhal/archive/v0.3.2.zip && sudo unzip v0.3.2 -d /opt/ && rm v0.3.2.zip || true"
- "[ $BIN == 'narwhal' ] && sudo ln -s /opt/narwhal-0.3.2/bin/narwhal /usr/local/bin/narwhal && sudo chmod +x /usr/local/bin/narwhal || true"