forked from NVIDIA/DIGITS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (38 loc) · 1.09 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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
- ./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