forked from mrtazz/restclient-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (41 loc) · 1.15 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
34
35
36
37
38
39
40
41
42
43
44
language: cpp
dist: bionic
sudo: required
group: beta
services:
- docker
compiler:
- gcc
- clang
script:
- ./autogen.sh && ./configure --enable-coverage
- make ci
- make packages
install:
- gem install fpm
- gem install package_cloud
- sudo apt-get install -qq doxygen
- sudo apt-get install -qq rpm
- sudo apt-get install -qq valgrind
- sudo apt-get install -qq libcurl4-openssl-dev
before_script:
- curl --version
- curl https://raw.githubusercontent.com/google/styleguide/gh-pages/cpplint/cpplint.py -o cpplint
- chmod +x cpplint
- export PATH=$PATH:`pwd`
- ./utils/build_gtest.sh
- gem install coveralls-lcov
after_success:
- curl http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.11.orig.tar.gz | tar xz
- export PATH=$PATH:`pwd`/lcov-1.11/bin
- make coverage.info
- coveralls-lcov coverage.info
deploy:
provider: script
script: ./autogen.sh && ./configure --prefix=`pwd`/usr && make deploy-packages
on:
tags: true
condition: $CXX = g++
env:
global:
- secure: IdA0aOUuazgCVT3X8bmOjC2mJpHIk+eakCUgiPGhsMsg6Nhe+OgYUF9uGLgz3py5qZq3ns+9WV1IVZVhwd1CFz+2wFKHM6WRnvlfFJ/aV+rb10I2tiX8BrepNcZzCvwuTxIgqb3m97DHRmf/s8DnnmF6v5pvUaKb9SjxFQ1d/XY=