2014-04-20 13:58:41 +08:00
|
|
|
language: c # defaults to ruby
|
2015-03-20 02:05:31 +08:00
|
|
|
addons:
|
|
|
|
apt_packages:
|
|
|
|
- zsh
|
|
|
|
- ksh
|
2015-11-02 16:50:40 +08:00
|
|
|
before_install:
|
|
|
|
- curl --version
|
|
|
|
- wget --version
|
2014-03-23 01:51:14 +08:00
|
|
|
install:
|
2015-01-19 14:24:22 +08:00
|
|
|
- (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*)
|
2014-11-06 12:14:59 +08:00
|
|
|
- chmod +x /tmp/urchin/package/urchin
|
2014-07-18 20:13:47 +08:00
|
|
|
- '[ -z "$WITHOUT_CURL" ] || sudo apt-get remove curl -y'
|
2014-03-17 02:05:28 +08:00
|
|
|
script:
|
2015-12-22 18:28:25 +08:00
|
|
|
- export PATH=$(echo $PATH | sed 's/::/:/')
|
2015-02-10 08:56:08 +08:00
|
|
|
- NVM_DIR=$TRAVIS_BUILD_DIR make TEST_SUITE=$TEST_SUITE URCHIN=/tmp/urchin/package/urchin test-$SHELL
|
2014-05-09 22:23:14 +08:00
|
|
|
env:
|
2014-10-23 01:43:39 +08:00
|
|
|
- SHELL=bash TEST_SUITE=install_script
|
2014-05-09 22:23:14 +08:00
|
|
|
- SHELL=sh TEST_SUITE=fast
|
|
|
|
- SHELL=dash TEST_SUITE=fast
|
|
|
|
- SHELL=bash TEST_SUITE=fast
|
|
|
|
- SHELL=zsh TEST_SUITE=fast
|
2014-11-16 00:56:01 +08:00
|
|
|
# - SHELL=ksh TEST_SUITE=fast
|
2014-05-10 18:15:19 +08:00
|
|
|
- SHELL=sh TEST_SUITE=slow
|
2014-08-09 03:16:22 +08:00
|
|
|
- SHELL=dash TEST_SUITE=slow
|
|
|
|
- SHELL=bash TEST_SUITE=slow
|
|
|
|
- SHELL=zsh TEST_SUITE=slow
|
2014-11-16 00:56:01 +08:00
|
|
|
# - SHELL=ksh TEST_SUITE=slow
|
2014-10-23 15:30:38 +08:00
|
|
|
- SHELL=sh TEST_SUITE=sourcing
|
|
|
|
- SHELL=dash TEST_SUITE=sourcing
|
|
|
|
- SHELL=bash TEST_SUITE=sourcing
|
|
|
|
- SHELL=zsh TEST_SUITE=sourcing
|
2014-11-16 00:56:01 +08:00
|
|
|
# - SHELL=ksh TEST_SUITE=sourcing
|
2014-09-15 08:24:30 +08:00
|
|
|
- SHELL=sh TEST_SUITE=installation
|
2015-12-03 14:49:38 +08:00
|
|
|
# - SHELL=sh TEST_SUITE=installation WITHOUT_CURL=1
|
2014-09-15 08:24:30 +08:00
|
|
|
- SHELL=dash TEST_SUITE=installation
|
2015-12-03 14:49:38 +08:00
|
|
|
# - SHELL=dash TEST_SUITE=installation WITHOUT_CURL=1
|
2014-09-15 08:24:30 +08:00
|
|
|
- SHELL=bash TEST_SUITE=installation
|
2015-12-03 14:49:38 +08:00
|
|
|
# - SHELL=bash TEST_SUITE=installation WITHOUT_CURL=1
|
2014-09-15 08:24:30 +08:00
|
|
|
- SHELL=zsh TEST_SUITE=installation
|
2015-12-03 14:49:38 +08:00
|
|
|
# - SHELL=zsh TEST_SUITE=installation WITHOUT_CURL=1
|
2014-11-16 00:56:01 +08:00
|
|
|
# - SHELL=ksh TEST_SUITE=installation
|
|
|
|
# - SHELL=ksh TEST_SUITE=installation WITHOUT_CURL=1
|