https://github.com/NVIDIA/DIGITS
Raw File
Tip revision: 9718fbea1fb7e8cb3dbace96707332b43ae5c0e7 authored by Luke Yeager on 22 January 2016, 00:07:14 UTC
Mark v3.1.0
Tip revision: 9718fbe
.travis.yml
# Copyright (c) 2015-2016, NVIDIA CORPORATION.  All rights reserved.

sudo: required
dist: precise

language: python
python:
    2.7
compiler: gcc   # for Caffe
env:
    global:
        # Make
        - NUM_THREADS=4
        # Caffe
        - WITH_CUDA=false
        - WITH_CMAKE=false
before_install:
    - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    - export PATH=/home/travis/miniconda/bin:$PATH
install:
    # Caffe
    - pushd .
    - ./scripts/travis/install-caffe.sh $(pwd)/deps/caffe

    # Torch
    - travis_wait ./scripts/travis/install-torch-wrapper.sh $(pwd)/deps/torch $(pwd)/torch-install-log.txt

    # DIGITS
    - sudo apt-get install graphviz
    # conda (fast)
    - conda install --yes gevent greenlet
    # pip (slow)
    - pip install -r requirements.txt
    - pip install -r requirements_test.txt
before_script:
    - export CAFFE_HOME=$(pwd)/deps/caffe
    - source $(pwd)/deps/torch/install/bin/torch-activate
    # Disable OpenMP multi-threading
    - export OMP_NUM_THREADS=1
script:
    ./digits-test -v --with-coverage --cover-package=digits,tools,scripts
after_success:
    coveralls
back to top