|
dist: trusty |
|
sudo: required |
|
|
|
language: cpp |
|
compiler: gcc |
|
|
|
env: |
|
global: |
|
- NUM_THREADS=4 |
|
matrix: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- BUILD_NAME="default-make" |
|
|
|
- BUILD_NAME="no-io-make" WITH_IO=false |
|
- BUILD_NAME="cuda-make" WITH_CUDA=true |
|
- BUILD_NAME="cudnn-make" WITH_CUDA=true WITH_CUDNN=true |
|
|
|
- BUILD_NAME="default-cmake" WITH_CMAKE=true |
|
- BUILD_NAME="python3-cmake" WITH_CMAKE=true WITH_PYTHON3=true |
|
- BUILD_NAME="no-io-cmake" WITH_CMAKE=true WITH_IO=false |
|
- BUILD_NAME="cuda-cmake" WITH_CMAKE=true WITH_CUDA=true |
|
- BUILD_NAME="cudnn-cmake" WITH_CMAKE=true WITH_CUDA=true WITH_CUDNN=true |
|
|
|
cache: |
|
apt: true |
|
directories: |
|
- ~/protobuf3 |
|
|
|
before_install: |
|
- source ./scripts/travis/defaults.sh |
|
|
|
install: |
|
- sudo -E ./scripts/travis/install-deps.sh |
|
- ./scripts/travis/setup-venv.sh ~/venv |
|
- source ~/venv/bin/activate |
|
- ./scripts/travis/install-python-deps.sh |
|
|
|
before_script: |
|
- ./scripts/travis/configure.sh |
|
|
|
script: |
|
- ./scripts/travis/build.sh |
|
- ./scripts/travis/test.sh |
|
|
|
notifications: |
|
|
|
|
|
|
|
|
|
|
|
email: |
|
on_success: always |
|
on_failure: always |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|