forked from elggem/tensorflow_node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (24 loc) · 840 Bytes
/
.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
# code below is taken from https://github.com/fchollet/keras/blob/master/.travis.yml
sudo: required
dist: trusty
compiler:
- gcc
language: python
python: # Only one version for now, cv2 doesnt work with Python 2.* on travis-ci
- "2.7"
before_install:
- sudo apt-get update
- sudo apt-get install python-opencv
- sudo dpkg -L python-opencv
- sudo cp /usr/lib/python2.7/dist-packages/cv* /home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages
install:
- pip install numpy matplotlib colorlog pep8 pytest protobuf catkin_pkg
- pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
script:
- python setup.py install
- pytest src/tensorflow_node/tests
- pep8 --ignore=E501 .
# Disable daemon branch for now...
branches:
except:
- development