forked from storj-archived/libstorj
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
27 lines (27 loc) · 1.09 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
language: c
os: linux
dist: trusty
sudo: true
addons:
compiler:
- clang
- gcc
before_script:
- echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial main" | sudo tee -a /etc/apt/sources.list
- echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial universe" | sudo tee -a /etc/apt/sources.list
- echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe" | sudo tee -a /etc/apt/sources.list
- echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse" | sudo tee -a /etc/apt/sources.list
- echo "deb http://security.ubuntu.com/ubuntu xenial-security main" | sudo tee -a /etc/apt/sources.list
- echo "deb http://security.ubuntu.com/ubuntu xenial-security multiverse" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- sudo apt-get install build-essential libtool autotools-dev automake libmicrohttpd-dev
- sudo apt-get install libneon27-gnutls-dev nettle-dev libjson-c-dev libuv1-dev
- mkdir /tmp/storj-test
- export TMPDIR=/tmp/storj-test/
- ./autogen.sh
script:
- ./configure
- make
- ./test/tests
- ./test/tests_rs
- make distcheck