Run the pkg tests on Travis.

- Add indirectly-missing dep for pkg tests.
 - Configure git on Travis to help pkg tests.
This commit is contained in:
Sam Tobin-Hochstadt 2015-09-11 21:28:55 -04:00 committed by Sam Tobin-Hochstadt
parent de27223635
commit 6b0e3f2aeb
2 changed files with 8 additions and 1 deletions

View File

@ -25,9 +25,13 @@ 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"
before_script:
- git config --global user.email "travis-test@racket-lang.org"
- git config --global user.name "Travis Tester"
script: script:
- make CPUS="2" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq="$RACKET_CONFIGURE_ARGS" - make CPUS="2" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq="$RACKET_CONFIGURE_ARGS"
- raco test -l tests/racket/test - raco test -l tests/racket/test
- racket -l tests/pkg/test -- -q
- racket -l tests/racket/contract/all - racket -l tests/racket/contract/all
- raco test -l tests/json/json - raco test -l tests/json/json
- raco test -l tests/file/main - raco test -l tests/file/main

View File

@ -8,7 +8,7 @@
"planet-lib" "planet-lib"
"net-lib" "net-lib"
"net-test" ; for tests/net/available "net-test" ; for tests/net/available
"serialize-cstruct-lib" ; tested here "serialize-cstruct-lib" ; tested here
"cext-lib" ; tested here "cext-lib" ; tested here
"pconvert-lib" ; tested here "pconvert-lib" ; tested here
@ -22,6 +22,9 @@
;; for `json` tests ;; for `json` tests
"at-exp-lib" "at-exp-lib"
;; used by the planet packages tested by the pkg tests
"srfi-lib"
;; used to test setup, module readers, pkg system ;; used to test setup, module readers, pkg system
"scribble-lib")) "scribble-lib"))