Pipe to bash not sh
Script uses some "advanced" bash capabilities.
This commit is contained in:
parent
d29ac874cc
commit
aff762e0f0
|
@ -19,8 +19,8 @@ before_install:
|
||||||
# Temporarily use raw.github.com to test this. After tests OK, will
|
# Temporarily use raw.github.com to test this. After tests OK, will
|
||||||
# make a v0.5 and change this back to be an example of the right way
|
# make a v0.5 and change this back to be an example of the right way
|
||||||
# to do this.
|
# to do this.
|
||||||
- curl https://raw.github.com/greghendershott/travis-racket/master/install-racket.sh | sh
|
- curl https://raw.github.com/greghendershott/travis-racket/master/install-racket.sh | bash
|
||||||
# - curl -L https://github.com/greghendershott/travis-racket/releases/download/v0.4/install-racket.sh | sh
|
# - curl -L https://github.com/greghendershott/travis-racket/releases/download/v0.4/install-racket.sh | bash
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# IMPORTANT: Your .travis.yml must pipe this to bash (not to sh)!
|
||||||
|
# In the Travis CI environment a #!/bin/bash shebang here won't help.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [[ "$RACKET_VERSION" = "HEAD" ]]; then
|
if [[ "$RACKET_VERSION" = "HEAD" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user