Use bash <(curl raw.githubusercontent.com)
As I've started to do in my own projects' .travis.yml files.
This commit is contained in:
parent
2211272c92
commit
18eb8fadae
18
.travis.yml
18
.travis.yml
|
@ -59,29 +59,19 @@ matrix:
|
||||||
# fail have succeeded.
|
# fail have succeeded.
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
# Repo history and other branches aren't useful here, so do a shallow clone
|
|
||||||
# to only download the tip of the master branch of the repo.
|
|
||||||
- git clone --depth 1 https://github.com/greghendershott/travis-racket.git
|
|
||||||
- cat travis-racket/install-racket.sh | bash # pipe to bash not sh!
|
|
||||||
- export PATH="${RACKET_DIR}/bin:${PATH}" #install-racket.sh can't set for us
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- bash <(curl https://raw.githubusercontent.com/greghendershott/travis-racket/master/install-racket.sh)
|
||||||
before_script:
|
- export PATH="${RACKET_DIR}/bin:${PATH}" #install-racket.sh can't set for us
|
||||||
|
|
||||||
# Here supply steps such as raco make, raco test, etc.
|
# Here supply steps such as raco make, raco test, etc.
|
||||||
script:
|
script:
|
||||||
- raco make main.rkt
|
- raco make main.rkt
|
||||||
- raco test -x .
|
- raco test -x .
|
||||||
|
|
||||||
# OR: If your repo is a Racket package with an info.rkt that includes
|
# OR: If your repo is a Racket package with an info.rkt that has any
|
||||||
# some `deps`:
|
# `deps`:
|
||||||
#
|
#
|
||||||
# script:
|
# script:
|
||||||
# - raco pkg install --deps search-auto
|
# - raco pkg install --deps search-auto
|
||||||
# - raco setup -D --check-pkg-deps <your-package-name>
|
# - raco setup -D --check-pkg-deps <your-package-name>
|
||||||
# - raco test -x -p <your-package-name>
|
# - raco test -x -p <your-package-name>
|
||||||
|
|
||||||
after_script:
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user