2016-04-28 17:27:13 +08:00
language : generic
2019-02-26 04:02:15 +08:00
dist : xenial
2015-03-20 02:05:31 +08:00
addons :
2016-08-16 03:58:51 +08:00
apt :
packages :
2016-10-13 01:58:24 +08:00
- zsh
2017-03-29 18:05:15 +08:00
# - ksh
2017-04-02 16:30:55 +08:00
# - gcc-4.8
# - g++-4.8
2016-08-24 15:11:50 +08:00
cache :
2018-11-18 16:38:36 +08:00
ccache : true
2016-08-24 15:11:50 +08:00
directories :
2016-08-14 12:15:12 +08:00
- $TRAVIS_BUILD_DIR/.cache
2017-03-25 16:58:12 +08:00
- $TRAVIS_BUILD_DIR/node_modules
2015-11-02 16:50:40 +08:00
before_install :
2021-10-06 13:50:44 +08:00
- sudo sed -i 's/mozilla\/DST_Root_CA_X3.crt/!mozilla\/DST_Root_CA_X3.crt/g' /etc/ca-certificates.conf
- sudo update-ca-certificates -f
2016-08-01 03:42:18 +08:00
- $SHELL --version 2> /dev/null || dpkg -s $SHELL 2> /dev/null || which $SHELL
2015-11-02 16:50:40 +08:00
- curl --version
- wget --version
2017-04-02 07:33:49 +08:00
- bash --version | head
- zsh --version
- dpkg -s dash | grep ^Version | awk '{print $2}'
2017-03-26 05:22:40 +08:00
install :
2018-07-12 12:14:06 +08:00
- if [ -z "${SHELLCHECK-}" ]; then nvm install node && npm install && npm prune && npm ls urchin doctoc eclint dockerfile_lint; fi
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 :
2017-09-08 16:32:54 +08:00
- if [ -n "${SHELL-}" ] && [ -n "${TEST_SUITE}" ]; then if [ "${TEST_SUITE}" = 'installation_iojs' ]; then travis_retry make TEST_SUITE=$TEST_SUITE URCHIN="$(npm bin)/urchin" test-$SHELL ; else make TEST_SUITE=$TEST_SUITE URCHIN="$(npm bin)/urchin" test-$SHELL; fi; fi
2017-05-19 13:58:09 +08:00
before_cache :
2017-04-09 13:13:25 +08:00
- if [ -n "$WITHOUT_CURL" ]; then sudo apt-get install curl -y ; fi
2014-05-09 22:23:14 +08:00
env :
2016-09-05 02:28:35 +08:00
global :
2019-02-26 04:02:15 +08:00
- CXX=g++
- CC=gcc
2017-09-24 23:46:06 +08:00
- PATH="$(echo $PATH | sed 's/::/:/')"
2018-11-18 16:38:36 +08:00
- PATH="/usr/lib/ccache/:$PATH"
2016-09-05 02:28:35 +08:00
- NVM_DIR="${TRAVIS_BUILD_DIR}"
matrix :
- SHELL=bash TEST_SUITE=install_script
- SHELL=sh TEST_SUITE=fast
- SHELL=dash TEST_SUITE=fast
- SHELL=bash TEST_SUITE=fast
- SHELL=zsh TEST_SUITE=fast
2020-11-21 03:28:15 +08:00
# - SHELL=ksh TEST_SUITE=fast
2016-09-05 02:28:35 +08:00
- SHELL=sh TEST_SUITE=sourcing
- SHELL=dash TEST_SUITE=sourcing
- SHELL=bash TEST_SUITE=sourcing
- SHELL=zsh TEST_SUITE=sourcing
2020-11-21 03:28:15 +08:00
# - SHELL=ksh TEST_SUITE=sourcing
2016-09-05 02:28:35 +08:00
- SHELL=sh TEST_SUITE=slow
- SHELL=dash TEST_SUITE=slow
- SHELL=bash TEST_SUITE=slow
- SHELL=zsh TEST_SUITE=slow
2020-11-21 03:28:15 +08:00
# - SHELL=ksh TEST_SUITE=slow
2016-09-05 02:28:35 +08:00
- SHELL=sh TEST_SUITE=installation_node
2017-04-06 14:52:26 +08:00
- SHELL=sh TEST_SUITE=installation_node WITHOUT_CURL=1
2016-09-05 02:28:35 +08:00
- SHELL=dash TEST_SUITE=installation_node
2017-04-06 14:52:26 +08:00
- SHELL=dash TEST_SUITE=installation_node WITHOUT_CURL=1
2016-09-05 02:28:35 +08:00
- SHELL=bash TEST_SUITE=installation_node
2017-04-06 14:52:26 +08:00
- SHELL=bash TEST_SUITE=installation_node WITHOUT_CURL=1
2016-09-05 02:28:35 +08:00
- SHELL=zsh TEST_SUITE=installation_node
2017-04-06 14:52:26 +08:00
- SHELL=zsh TEST_SUITE=installation_node WITHOUT_CURL=1
2020-11-21 03:28:15 +08:00
# - SHELL=ksh TEST_SUITE=installation_node
# - SHELL=ksh TEST_SUITE=installation_node WITHOUT_CURL=1
2016-09-05 02:28:35 +08:00
- SHELL=sh TEST_SUITE=installation_iojs
2017-04-06 14:52:26 +08:00
- SHELL=sh TEST_SUITE=installation_iojs WITHOUT_CURL=1
2016-09-05 02:28:35 +08:00
- SHELL=dash TEST_SUITE=installation_iojs
2017-04-06 14:52:26 +08:00
- SHELL=dash TEST_SUITE=installation_iojs WITHOUT_CURL=1
2016-09-05 02:28:35 +08:00
- SHELL=bash TEST_SUITE=installation_iojs
2017-04-06 14:52:26 +08:00
- SHELL=bash TEST_SUITE=installation_iojs WITHOUT_CURL=1
2016-09-05 02:28:35 +08:00
- SHELL=zsh TEST_SUITE=installation_iojs
2017-04-06 14:52:26 +08:00
- SHELL=zsh TEST_SUITE=installation_iojs WITHOUT_CURL=1
2020-11-22 10:08:22 +08:00
# - SHELL=ksh TEST_SUITE=installation_iojs
# - SHELL=ksh TEST_SUITE=installation_iojs WITHOUT_CURL=1