forked from TimZaman/DIGITS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
82 lines (72 loc) · 1.92 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
sudo: required
dist: trusty
language: python
python: 2.7
env:
matrix:
- DIGITS_TEST_FRAMEWORK=caffe CAFFE_FORK=NVIDIA
- DIGITS_TEST_FRAMEWORK=caffe CAFFE_FORK=BVLC
- DIGITS_TEST_FRAMEWORK=torch
- DIGITS_TEST_FRAMEWORK=none
- DEB_BUILD=true
cache:
apt: true
directories:
- ~/caffe
- ~/torch
addons:
apt:
packages:
- build-essential
- cmake
- cython
- git
- gfortran
- graphviz
- libboost-filesystem-dev
- libboost-python-dev
- libboost-system-dev
- libboost-thread-dev
- libgflags-dev
- libgoogle-glog-dev
- libhdf5-serial-dev
- libleveldb-dev
- liblmdb-dev
- libopenblas-dev
- libopencv-dev
- libprotobuf-dev
- libsnappy-dev
- protobuf-compiler
- python-dev
- python-flask
- python-gevent
- python-gevent-websocket
- python-gflags
- python-h5py
- python-matplotlib
- python-mock
- python-nose
- python-numpy
- python-pil
- python-pip
- python-protobuf
- python-psutil
- python-requests
- python-scipy
- python-six
- python-skimage
services:
- docker
before_install:
- deactivate
- virtualenv --system-site-packages ~/venv
- source ~/venv/bin/activate
install:
- ./scripts/travis/install-caffe.sh ~/caffe
- travis_wait ./scripts/travis/install-torch.sh ~/torch
- ./scripts/travis/install-python-requirements.sh
- ./scripts/travis/install-digits.sh
script:
- ./scripts/travis/test.sh
- ./scripts/travis/deb-build.sh