-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
33 lines (29 loc) · 1.06 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
sudo: required
language: cpp
compiler: g++
before_scirpt:
- cd ../
- wget https://cmake.org/files/v3.10/cmake-3.10.2-Linux-x86_64.tar.gz
- tar -zxvf cmake-3.10.2-Linux-x86_64.tar.gz
- wget https://github.com/google/googletest/archive/release-1.10.0.tar.gz
- tar -zxvf release-1.10.0.tar.gz
- ls -a
- mkdir googletest-build
- cd googletest-build
- sudo ../cmake-3.10.2-Linux-x86_64/bin/cmake ../googletest-release-1.10.0
- sudo make -j5
- sudo make install
- cd ../
- mkdir build-BNN
- cd build-BNN
- sudo ../cmake-3.10.2-Linux-x86_64/bin/cmake -DBUILD_TESTS=ON -DINSTALL_GOOGLETEST=OFF -DCMAKE_PREFIX_PATH=/usr/local/include ../BNN
- sudo make -j5
- wget https://raw.githubusercontent.com/codezonediitj/test_data/master/t10k-images-idx3-ubyte.gz
- gzip -d t10k-images-idx3-ubyte.gz
- wget https://raw.githubusercontent.com/codezonediitj/test_data/master/t10k-labels-idx1-ubyte.gz
- gzip -d t10k-labels-idx1-ubyte.gz
script:
- ./bin/test_core --CI=ON
- ./bin/test_operations --CI=ON
- ./bin/test_io --CI=ON
- ./bin/test_autodiff --CI=ON