[Tests] improve test matrix

Jordan Harband 2016-09-04 11:28:35 -07:00
parent ecba036cbf
commit 25c7260f1e
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 43 additions and 41 deletions

View File

@ -24,13 +24,15 @@ install:
- chmod +x /tmp/urchin/package/urchin
- '[ -z "$WITHOUT_CURL" ] || sudo apt-get remove curl -y'
script:
- export CXX=g++-4.8
- export CC=gcc-4.8
- export PATH=$(echo $PATH | sed 's/::/:/')
- export NVM_DIR="${TRAVIS_BUILD_DIR}"
- if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash nvm.sh && shellcheck -s sh nvm.sh && shellcheck -s dash nvm.sh && shellcheck -s ksh nvm.sh && shellcheck -s bash install.sh ; fi
- if [ -z "${SHELLCHECK-}" ]; then make TEST_SUITE=$TEST_SUITE URCHIN=/tmp/urchin/package/urchin test-$SHELL ; fi
env:
global:
- CXX=g++-4.8
- CC=gcc-4.8
- PATH=$(echo $PATH | sed 's/::/:/')
- NVM_DIR="${TRAVIS_BUILD_DIR}"
matrix:
- SHELLCHECK=true
- SHELL=bash TEST_SUITE=install_script
- SHELL=sh TEST_SUITE=fast