-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
33 lines (33 loc) · 985 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
25
26
27
28
29
30
31
32
33
sudo: required
dist: xenial
branches:
only:
- master
language: c
compiler:
- gcc
before_install:
- sudo apt-get install colorgcc
- sudo sh doc/dependencies.sh
- wget -q https://github.com/protocolbuffers/protobuf/releases/download/v3.10.0/protobuf-all-3.10.0.tar.gz
- wget -q https://github.com/protobuf-c/protobuf-c/releases/download/v1.3.2/protobuf-c-1.3.2.tar.gz
- tar xzf protobuf-all-3.10.0.tar.gz
- tar xzf protobuf-c-1.3.2.tar.gz
- cd protobuf-3.10.0
- ./configure --prefix=/usr
- make -j `nproc`
- sudo make install
- cd ..
- cd protobuf-c-1.3.2
- ./configure --prefix=/usr
- make -j `nproc`
- sudo make install
- cd ..
- wget -q https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz
- sudo tar xz -C /usr -f libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz
install:
- ./autogen.sh
- ./configure --prefix=/usr CC=colorgcc CFLAGS=-Wpedantic
- make -j `nproc`
script:
- make check -j