mirror of
https://github.com/vale981/ray
synced 2025-03-10 13:26:39 -04:00

* attempt to build on travis using docker * run tests in foreground * add examples to travis tests * test from current checkout * attempt to fix docker version issues * try build with xenial * attempt docker upgrade * avoid hang on configuration files * matrix osx and linux w/ docker * restore non-test docker builds * fix typo * tuning and cleanup * add missing file * comment cleanup
14 lines
369 B
Bash
Executable file
14 lines
369 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
|
|
# Linux test uses Docker
|
|
docker run amplab/ray:test-base bash -c 'source setup-env.sh && cd test && python runtest.py && python array_test.py && python microbenchmarks.py'
|
|
else
|
|
# Mac OS X test
|
|
source setup-env.sh
|
|
pushd test
|
|
runtest.py
|
|
python array_test.py
|
|
python microbenchmarks.py
|
|
popd
|
|
fi
|