Skip to content

Commit

Permalink
tests: Switch default shell to bash
Browse files Browse the repository at this point in the history
Keep using bash -x in travis build jobs for debugging purposes, though.
This is done by making SHELL configurable from the command line.
  • Loading branch information
neverpanic committed Sep 2, 2015
1 parent a2e9a90 commit 081b777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ install:
- curl -L "http://archive.ubuntu.com/ubuntu/pool/universe/s/shellcheck/shellcheck_0.3.7-1_amd64.deb" -o "/tmp/shellcheck_0.3.7-1_amd64.deb"
- '[ "$(openssl dgst -sha256 "/tmp/shellcheck_0.3.7-1_amd64.deb" | cut -d " " -f 2)" == "1622b0ebead82475946188c7ace2afe012607c1b064d2888556f296a28cd1927" ]'
- sudo dpkg -i "/tmp/shellcheck_0.3.7-1_amd64.deb"
script: make && make test
script: make && make test SHELL="bash -x"
2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TUT=../../google-font-download

# tests use bashisms, avoid failures on systems where dash is used
# to simplify debugging failing test cases, use -x
SHELL=bash -x
SHELL := bash

.PHONY: test $(TESTS)

Expand Down

0 comments on commit 081b777

Please sign in to comment.