forked from Jackarain/avhttp
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
39 lines (33 loc) · 875 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
34
35
36
37
38
language: cpp
dist: trusty
sudo: false
os:
- linux
compiler:
- gcc
- clang
before_install:
- sudo apt-get update
- sudo apt-get install zlib1g-dev
- wget https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.bz2
- sudo apt-get install ninja
- tar -xf boost_1_65_1.tar.bz2
- ( cd boost_1_65_1 && ./bootstrap.sh --prefix=/usr --with-libraries=date_time,filesystem,exception,log,locale,random,regex,program_options,system,thread && sudo ./b2 -j2 link=static install ) > /dev/null
before_script:
cmake . -DDEBUG=1
script:
- make
- ./avhttp http://www.boost.org/LICENSE_1_0.txt
- ./avhttp https://github.com/blog
- cat ./multi_download.log
branches:
only:
- master
- C++11
notifications:
recipients:
email:
on_success: change
on_failure: always