From c97c90d2ee089a91648c5cef2966c96e1b2752ce Mon Sep 17 00:00:00 2001 From: Andrew Kent Date: Sat, 1 Jul 2017 12:15:28 +0100 Subject: [PATCH] break up travis build --- .travis.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5ee64aac..e5514960 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,9 @@ sudo: false language: c env: -- PATH=~/racket/bin:$PATH +- TESTS=unit PLT_TR_CONTRACTS=1 PATH=~/racket/bin:$PATH +- TESTS=int PATH=~/racket/bin:$PATH +- TESTS=math PATH=~/racket/bin:$PATH before_install: - "export DISPLAY=:99.0" @@ -20,16 +22,13 @@ install: - raco setup typed typed-racket typed-racket-test typed-scheme script: -- racket -l typed-racket-test -- --unit -- racket -l typed-racket-test -- --int -- racket -l typed-racket-test -- --opt -- racket -l typed-racket-test -- --missed-opt -- raco setup -j 1 math -- racket -l typed-racket-test -- --math -- racket -l typed-racket-test/test-docs-complete -- echo ';; please rebuild me' >> typed-racket-lib/typed-racket/utils/utils.rkt -- PLT_TR_CONTRACTS=1 raco setup -D typed-racket && raco setup -D typed && raco setup -D typed-racket-test -- racket -l typed-racket-test -- --unit +- if [ $TESTS = "unit" ]; then racket -l typed-racket-test -- --unit; fi +- if [ $TESTS = "int" ]; then racket -l typed-racket-test -- --int; fi +- if [ $TESTS = "int" ]; then racket -l typed-racket-test -- --opt; fi +- if [ $TESTS = "int" ]; then racket -l typed-racket-test -- --missed-opt; fi +- if [ $TESTS = "int" ]; then racket -l typed-racket-test/test-docs-complete; fi +- if [ $TESTS = "math" ]; then raco setup -j 1 math; fi +- if [ $TESTS = "math" ]; then racket -l typed-racket-test -- --math; fi - echo "done" after_script: