You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
687 B
18 lines
687 B
language: generic
|
|
os:
|
|
- linux
|
|
- osx
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- zsh
|
|
before_install:
|
|
- zsh --version
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew uninstall node; fi
|
|
- sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*}
|
|
- if [[ $(command -v nvm) == "nvm" ]]; then nvm deactivate && nvm unload && echo "Deactivated Travis nvm"; fi
|
|
install:
|
|
- (mkdir /tmp/urchin && cd /tmp/urchin && curl -s "$(curl -s https://registry.npmjs.com/urchin | grep -Eo '"tarball":\s*"[^"]+"' | tail -n 1 | awk -F\" '{ print $4 }')" -O && tar -x -f urchin*)
|
|
- chmod +x /tmp/urchin/package/urchin
|
|
script:
|
|
- /tmp/urchin/package/urchin -s zsh tests
|
|
|