diff options
author | Bram Wasti <bwasti@fb.com> | 2016-12-20 10:38:43 -0800 |
---|---|---|
committer | Bram Wasti <bwasti@fb.com> | 2016-12-20 10:38:43 -0800 |
commit | 99fa9e7ae21e81e809a33ce7d3e029ff2fc6f1a4 (patch) | |
tree | 2ab97442f1aeb3438c6e61534151688b63319527 /.travis.yml | |
parent | 50e2a1515e0b4031d669c7e5ea84c1a41e8d4cd7 (diff) | |
download | pytorch-99fa9e7ae21e81e809a33ce7d3e029ff2fc6f1a4.tar.gz pytorch-99fa9e7ae21e81e809a33ce7d3e029ff2fc6f1a4.tar.bz2 pytorch-99fa9e7ae21e81e809a33ce7d3e029ff2fc6f1a4.zip |
fixed yml extension to be recognized by travis
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..aa8b718366 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: cpp + +compiler: gcc + +install: + - sudo apt-get install libprotobuf-dev protobuf-compiler libatlas-base-dev libgoogle-glog-dev libgtest-dev liblmdb-dev libleveldb-dev libsnappy-dev python-dev python-numpy libiomp-dev libopencv-dev nvidia-cuda-toolkit + - wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.44-1_amd64.deb + - sudo dpkg -i cuda-repo-ubuntu1604_8.0.44-1_amd64.deb + - sudo apt-get update + - sudo apt-get install cuda + +script: + - mkdir build && cd build && cmake .. && make + +# safelist +branches: + only: + - master |