Build cs variant on Travis, but allow failure.

With this script the "default" value of RACKETCS_SUFFIX is effectively ""
instead of "cs" as in the make file.
This is a minor incompatibility/unexpected behavior that will get eventually
solved when the real default changes to "".
This commit is contained in:
Gustavo Massaccesi 2018-11-20 17:03:36 -03:00 committed by Sam Tobin-Hochstadt
parent 6e8f47788f
commit d8d94b1549

View File

@ -1,6 +1,7 @@
sudo: false sudo: false
language: c language: c
matrix: matrix:
include:
- os: osx - os: osx
compiler: clang compiler: clang
env: PATH=./racket/bin:$PATH env: PATH=./racket/bin:$PATH
@ -21,15 +22,24 @@ matrix:
compiler: gcc compiler: gcc
env: PATH=./racket/bin:$PATH RACKET_CONFIGURE_ARGS="--disable-jit --disable-places env: PATH=./racket/bin:$PATH RACKET_CONFIGURE_ARGS="--disable-jit --disable-places
--disable-futures --disable-extflonum" --disable-futures --disable-extflonum"
allow-failures: - os: linux
- os: linux compiler: clang
compiler: clang env: PATH=./racket/bin:$PATH TARGET="cs"
env: PATH=./racket/bin:$PATH TARGET="cs" allow_failures:
- os: linux
compiler: clang
env: PATH=./racket/bin:$PATH TARGET="cs"
before_script: before_script:
- git config --global user.email "travis-test@racket-lang.org" - git config --global user.email "travis-test@racket-lang.org"
- git config --global user.name "Travis Tester" - git config --global user.name "Travis Tester"
script: script:
- make $TARGET CPUS="2" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq="$RACKET_CONFIGURE_ARGS" - make $TARGET \
CPUS="2" \
PKGS="racket-test db-test unstable-flonum-lib net-test" \
CONFIGURE_ARGS_qq="$RACKET_CONFIGURE_ARGS" \
RACKETCS_SUFFIX="$RACKETCS_SUFFIX"
- which racket
- racket -v
- raco test -l tests/racket/test - raco test -l tests/racket/test
- racket -l tests/racket/contract/all - racket -l tests/racket/contract/all
- raco test -l tests/json/json - raco test -l tests/json/json