ray/test/travis-ci/hyperopt_example.sh
Johann Schleier-Smith 583df08957 Docker builds on Travis (#343)
* 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
2016-08-02 17:03:28 -07:00

7 lines
255 B
Bash
Executable file

#!/bin/bash
# Hyperparameter optimization test
# Runs only on Docker under Linux
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
docker run --shm-size=500m amplab/ray:test-examples bash -c 'source setup-env.sh && cd examples/hyperopt && python driver.py'
fi